* Do not remove extension when type is patch.

This commit is contained in:
wangyidong
2012-05-01 07:45:49 +00:00
parent 5b6770c4d1
commit 796376cdec
+1
View File
@@ -563,6 +563,7 @@ class extensionModel extends model
public function removePackage($extension)
{
$extension = $this->getInfoFromDB($extension);
if($extension->type == 'patch') return true;
$dirs = json_decode($extension->dirs);
$files = json_decode($extension->files);
$appRoot = $this->app->getAppRoot();