aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-04-07 09:42:13 +0000
committerpatdenice <patdenice@piwigo.org>2011-04-07 09:42:13 +0000
commita1071794d994a6c5ae5dedbc5ae2ac40308dad87 (patch)
tree9771ee55c3882e75e95d495e2cea7f392c3a298c /admin
parent49dd77f05b78b3a82ec12c6c7fbf3a5972c784ce (diff)
feature:2250
Remove useless query for delete. git-svn-id: http://piwigo.org/svn/trunk@10129 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/plugins.class.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/admin/include/plugins.class.php b/admin/include/plugins.class.php
index 4cb1370fb..30242f01b 100644
--- a/admin/include/plugins.class.php
+++ b/admin/include/plugins.class.php
@@ -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);