]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/fixup_replies.php
use Realtime_channel to target channels to users
[quix0rs-gnu-social.git] / scripts / fixup_replies.php
index 63dd6b35a41133c00657800eba9a1968c97788da..dd55e6ed40ff1b5e1fc61bc574bb02b8c934934c 100755 (executable)
@@ -18,7 +18,7 @@
  * 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();
@@ -26,6 +26,7 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) {
 
 define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
 define('STATUSNET', true);
+define('LACONICA', true); // compatibility
 
 require_once(INSTALLDIR . '/lib/common.php');