]> git.wh0rd.org Git - tt-rss.git/commitdiff
compat fix for old-style backend methods
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 13 Dec 2011 08:48:10 +0000 (12:48 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 13 Dec 2011 08:48:10 +0000 (12:48 +0400)
backend.php

index 8f197ee3074249b49ed5abb96581d6cd7474d57e..f0dc6ae1170b4c658f273e7ce296fbbe584e0fe2 100644 (file)
 
        switch($op) { // Select action according to $op value.
 
-               case "pref-filters":
+               case "pref_filters":
                        require_once "modules/pref-filters.php";
                        module_pref_filters($link);
                break; // pref-filters
 
-               case "pref-labels":
+               case "pref_labels":
                        require_once "modules/pref-labels.php";
                        module_pref_labels($link);
                break; // pref-labels
 
-               case "pref-users":
+               case "pref_users":
                        require_once "modules/pref-users.php";
                        module_pref_users($link);
                break; // prefs-users
 
-               case "pref-instances":
+               case "pref_instances":
                        require_once "modules/pref-instances.php";
                        module_pref_instances($link);
                break; // pref-instances