feature:2250
Remove useless query for delete. git-svn-id: http://piwigo.org/svn/trunk@10129 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
49dd77f05b
commit
a1071794d9
1 changed files with 0 additions and 3 deletions
|
@ -186,9 +186,6 @@ DELETE FROM ' . PLUGINS_TABLE . ' WHERE id=\'' . $plugin_id . '\'';
|
|||
array_push($errors, 'CANNOT DELETE - NO SUCH PLUGIN');
|
||||
break;
|
||||
}
|
||||
$query = '
|
||||
DELETE FROM ' . PLUGINS_TABLE . ' WHERE id=\'' . $plugin_id . '\'';
|
||||
pwg_query($query);
|
||||
if (!$this->deltree(PHPWG_PLUGINS_PATH . $plugin_id))
|
||||
{
|
||||
$this->send_to_trash(PHPWG_PLUGINS_PATH . $plugin_id);
|
||||
|
|
Loading…
Reference in a new issue