X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Ffixup_replies.php;h=17d746eb519a69030a6c4c9d437581f33d6f0a9c;hb=22b9031ebeed923bf758199153b5cef6fce9661f;hp=302c239151fac7dbb2f92d577d5f17e92f34884c;hpb=aeca8807dbce951beccbc3fb0e5a4ae5600e5e5f;p=quix0rs-gnu-social.git diff --git a/scripts/fixup_replies.php b/scripts/fixup_replies.php index 302c239151..17d746eb51 100755 --- a/scripts/fixup_replies.php +++ b/scripts/fixup_replies.php @@ -18,15 +18,15 @@ * 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(); } define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); -define('STATUSNET', true); -define('LACONICA', true); // compatibility +define('GNUSOCIAL', true); +define('STATUSNET', true); // compatibility require_once(INSTALLDIR . '/lib/common.php'); @@ -39,4 +39,3 @@ while ($notice->fetch()) { common_log(LOG_INFO, 'Getting replies for notice #' . $notice->id); common_save_replies($notice); } -?>