1
1
Fork 0

Moved is_filled_array() to both dba classes and named it is_result().

Please see ticket #2390 for full discussion.

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-03-12 18:54:55 +01:00
commit 9cfc249b12
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
8 changed files with 39 additions and 24 deletions

View file

@ -197,7 +197,7 @@ function poller_max_connections_reached() {
function poller_kill_stale_workers() {
$r = q("SELECT `pid`, `executed` FROM `workerqueue` WHERE `executed` != '0000-00-00 00:00:00'");
if (!is_filled_array($r)) {
if (!dba::is_result($r)) {
// No processing here needed
return;
}