Exemplo n.º 1
0
 public function Enable()
 {
     try {
         $status = parent::Enable();
     } catch (Interspire_Addons_Exception $e) {
         throw new Interspire_Addons_Exception($e->getMessage(), $e->getCode());
     }
     return true;
 }
Exemplo n.º 2
0
 public function Enable()
 {
     //$this->db->Query("INSERT INTO [|PREFIX|]settings_cron_schedule(jobtype, lastrun) VALUES ('" . $this->db->Quote($this->addon_id) . "', 0)");
     try {
         $status = parent::Enable();
     } catch (Interspire_Addons_Exception $e) {
         throw new Interspire_Addons_Exception($e->getMessage(), $e->getCode());
     }
     return true;
 }