]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pluginhost.php
Fixing bugs found by static analysis
[tt-rss.git] / classes / pluginhost.php
index 8e2aefcf167ae3584e08ff52e64e3dfa218551e8..bc5dc96beb5c0ca4cc47e40aa9bbe46d0b1317fe 100644 (file)
@@ -186,7 +186,7 @@ class PluginHost {
                }
        }
 
-       function del_handler($handler, $method) {
+       function del_handler($handler, $method, $sender) {
                $handler = str_replace("-", "_", strtolower($handler));
                $method = strtolower($method);
 
@@ -252,8 +252,6 @@ class PluginHost {
 
        function load_data($force = false) {
                if ($this->owner_uid)  {
-                       $plugin = $this->dbh->escape_string($plugin);
-
                        $result = $this->dbh->query("SELECT name, content FROM ttrss_plugin_storage
                                WHERE owner_uid = '".$this->owner_uid."'");