summaryrefslogtreecommitdiff
path: root/classes/pref/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-06-07 18:41:18 +0300
committerAndrew Dolgov <[email protected]>2015-06-07 18:41:18 +0300
commit415a3b50c9879027d5367696ef2b21200cbd5827 (patch)
treee3c62caadef95aaa38a16146fb4ff310d7f533d5 /classes/pref/prefs.php
parentca5d39e8665dc6eaaeec3f53bddd338e07f9a038 (diff)
fix some minor typos and stuff
Diffstat (limited to 'classes/pref/prefs.php')
-rw-r--r--classes/pref/prefs.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index bc7d9212f..6c33170bd 100644
--- a/classes/pref/prefs.php
+++ b/classes/pref/prefs.php
@@ -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"]);