projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #8131 - chinese translations
[Pman.Core]
/
Notify.php
diff --git
a/Notify.php
b/Notify.php
index
5ed6a7b
..
3fd4c5b
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-178,6
+178,12
@@
class Pman_Core_Notify extends Pman
function get($r,$opts=array())
{
function get($r,$opts=array())
{
+
+ // if ($this->database_is_locked()) {
+ // die("LATER - DATABASE IS LOCKED");
+ //}
+
+
$this->parseArgs($opts);
//date_default_timezone_set('UTC');
$this->parseArgs($opts);
//date_default_timezone_set('UTC');
@@
-225,6
+231,7
@@
class Pman_Core_Notify extends Pman
if (!$this->force) {
$w->whereAdd('act_when < NOW()'); // eg.. not if future..
}
if (!$this->force) {
$w->whereAdd('act_when < NOW()'); // eg.. not if future..
}
+
$w->orderBy('act_when ASC'); // oldest first.
$total = min($w->count(), $opts['limit']);
$w->orderBy('act_when ASC'); // oldest first.
$total = min($w->count(), $opts['limit']);