Found the problem- on inspection of the other blocks in a standard Moodle 2 install I noticed there was a version.php file containing, essentially
<?php
$plugin->version = 2010081200;
where the big number is year-month-day-iteration I think.
Dropping one of those version.php files into the block folder instead of the
$this->version = 2010081200;
line in the block_unep_test.php file worked a treat!
Blocks
What am I doing wrong? (moodle 2)
This discussion has been locked so you can no longer reply to it.