What am I doing wrong? (moodle 2)

Re: What am I doing wrong? (moodle 2)

by Adam Landow -
Number of replies: 0
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!