mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 10:05:56 +00:00
use self:: in some places to invoke static methods from the same class
This commit is contained in:
@@ -1151,7 +1151,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
$ids = explode(",", clean($_REQUEST["ids"]));
|
||||
|
||||
foreach ($ids as $id) {
|
||||
Pref_Feeds::remove_feed($id, $_SESSION["uid"]);
|
||||
self::remove_feed($id, $_SESSION["uid"]);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
@@ -304,7 +304,7 @@ class Pref_Users extends Handler_Protected {
|
||||
|
||||
function resetPass() {
|
||||
$uid = clean($_REQUEST["id"]);
|
||||
Pref_Users::resetUserPassword($uid);
|
||||
self::resetUserPassword($uid);
|
||||
}
|
||||
|
||||
function index() {
|
||||
|
||||
Reference in New Issue
Block a user