예제 #1
0
 function uninstallPlugin($plugin)
 {
     $name = $this->plugin_factory->getNameForPlugin($plugin);
     if (!$this->_executeSqlStatements('uninstall', $name)) {
         $this->uninstallForgeUpgrade($name);
         return $this->plugin_factory->removePlugin($plugin);
     } else {
         return false;
     }
 }