]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/fixup_replies.php
Webfinger instructions were incomplete/erroneous -- now they are not.
[quix0rs-gnu-social.git] / scripts / fixup_replies.php
index 302c239151fac7dbb2f92d577d5f17e92f34884c..17d746eb519a69030a6c4c9d437581f33d6f0a9c 100755 (executable)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-# 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);
 }
-?>