public function __construct($appid) { // Set the id $this->id = $appid; OC_Migrate::registerProvider($this); }