X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Ffixup_inboxes.php;h=2aa5d1690003c938c634e71ef5c631cc709db13f;hb=650af0a27102e5e9067850c88e5b8a446b44f045;hp=7397d75d8eecfed65cc3cd78695ba9684e925e1d;hpb=8f81762d68ede590e53b929c77602f0e2db0ddc2;p=quix0rs-gnu-social.git diff --git a/scripts/fixup_inboxes.php b/scripts/fixup_inboxes.php index 7397d75d8e..2aa5d16900 100755 --- a/scripts/fixup_inboxes.php +++ b/scripts/fixup_inboxes.php @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -# Abort if called from a web server +// Abort if called from a web server if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) { print "This script must be run from the command line\n"; exit(); @@ -76,6 +76,6 @@ while ($user->fetch()) { $inbox->free(); unset($inbox); if ($cache) { - $cache->delete(common_cache_key('user:notices_with_friends:' . $user->id)); + $cache->delete(Cache::key('user:notices_with_friends:' . $user->id)); } }