]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pref/prefs.php
fix some minor typos and stuff
[tt-rss.git] / classes / pref / prefs.php
index bc7d9212f233faf9e02a838a4fd1d8b520f8f41d..6c33170bdbca5d2b1929fa1bd3789c6821619be3 100644 (file)
@@ -127,21 +127,6 @@ class Pref_Prefs extends Handler_Protected {
                }
        }
 
-       function getHelp() {
-
-               $pref_name = $this->dbh->escape_string($_REQUEST["pn"]);
-
-               $result = $this->dbh->query("SELECT help_text FROM ttrss_prefs
-                       WHERE pref_name = '$pref_name'");
-
-               if ($this->dbh->num_rows($result) > 0) {
-                       $help_text = $this->dbh->fetch_result($result, 0, "help_text");
-                       print $help_text;
-               } else {
-                       printf(__("Unknown option: %s"), $pref_name);
-               }
-       }
-
        function changeemail() {
 
                $email = $this->dbh->escape_string($_POST["email"]);