summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-04-14 23:03:31 +0000
committerRobin Millette <millette@controlyourself.ca>2009-04-14 23:03:31 +0000
commit533a463879e574f53fb84dd977e9d72a75023451 (patch)
treeac6caa220b15d50664beab5507e1a56b030839f2 /scripts
parent20394664957a202cc86cc48ee2d115032e82c58a (diff)
parent9f2e2e4b2c1b428a1892c57c7194fbc5ede5b125 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/synctwitterfriends.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/synctwitterfriends.php b/scripts/synctwitterfriends.php
index d108416f4..794301f0f 100755
--- a/scripts/synctwitterfriends.php
+++ b/scripts/synctwitterfriends.php
@@ -27,8 +27,8 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) {
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
define('LACONICA', true);
-// Set this to true to get useful console output
-define('SCRIPT_DEBUG', false);
+// Uncomment this to get useful console output
+//define('SCRIPT_DEBUG', true);
require_once(INSTALLDIR . '/lib/common.php');
@@ -62,7 +62,7 @@ while ($flink->fetch()) {
$result = save_twitter_friends($user, $fuser->id,
$fuser->nickname, $flink->credentials);
- if (SCRIPT_DEBUG) {
+ if (defined('SCRIPT_DEBUG')) {
print "\nDONE\n";
} else {
print "DONE\n";