Esempio n. 1
0
 public function init()
 {
     parent::init();
 }
Esempio n. 2
0
 /**
  *
  * @param \hass\module\BaseModule $module            
  */
 public function uninstall($module)
 {
     try {
         $module->uninstall();
         $model = $module->getPackageInfo()->getModel();
         $model->delete();
         return true;
     } catch (\Exception $e) {
         return false;
     }
 }