slartyblartfast ([info]slartyblartfast) wrote in [info]changelog,
@ 2009-07-09 08:02:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
[livejournal] r15449: Bugfix: Don't use cond_debug() method.
Committer: mchernyshev
Bugfix: Don't use cond_debug() method.

U   trunk/bin/worker/birthday-notify
U   trunk/bin/worker/expunge-users
U   trunk/bin/worker/syn-suck
Modified: trunk/bin/worker/birthday-notify
===================================================================
--- trunk/bin/worker/birthday-notify	2009-07-09 07:31:37 UTC (rev 15448)
+++ trunk/bin/worker/birthday-notify	2009-07-09 08:02:56 UTC (rev 15449)
@@ -95,7 +95,7 @@
 }
 
 sub debug {
-    LJ::Worker::Manual->cond_debug(@_);
+    LJ::Worker::DEBUG(@_);
 }
 
 

Modified: trunk/bin/worker/expunge-users
===================================================================
--- trunk/bin/worker/expunge-users	2009-07-09 07:31:37 UTC (rev 15448)
+++ trunk/bin/worker/expunge-users	2009-07-09 08:02:56 UTC (rev 15449)
@@ -22,7 +22,7 @@
     unless $LJ::MOVE_SERVER;
 
 sub debug {
-    LJ::Worker::Manual->cond_debug(@_);
+    LJ::Worker::DEBUG(@_);
 }
 
 sub work {

Modified: trunk/bin/worker/syn-suck
===================================================================
--- trunk/bin/worker/syn-suck	2009-07-09 07:31:37 UTC (rev 15448)
+++ trunk/bin/worker/syn-suck	2009-07-09 08:02:56 UTC (rev 15449)
@@ -31,7 +31,7 @@
         my $lockname = "synsuck-user-" . $urow->{user};
         my $lock = LJ::locker()->trylock($lockname);
         next unless $lock;
-        $class->cond_debug("got lock $lockname");
+        LJ::Worker::DEBUG("got lock $lockname");
         $done++;
         LJ::SynSuck::update_feed($urow, $class->verbose);
     }



Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…