Skip to content

Commit

Permalink
Don't use $this outside of an object context. Instead, what we want i…
Browse files Browse the repository at this point in the history
…s self
  • Loading branch information
lunaru committed Aug 16, 2010
1 parent 01366b2 commit 5e5826b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MongoJob.php
Expand Up @@ -7,7 +7,7 @@ abstract class MongoJob
{
public static function later($delay = 0)
{
return $this->at(time() + $delay);
return self::at(time() + $delay);
}

public static function at($time = null)
Expand Down

0 comments on commit 5e5826b

Please sign in to comment.