Closed (fixed)
Project:
SuperCron
Version:
6.x-1.3
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2009 at 14:26 UTC
Updated:
5 Mar 2010 at 05:30 UTC
there are several warnings displayed on 'admin/settings/supercron' if drupal`s watchdog module disabled
so, on line 293
just add
if (db_table_exists('watchdog')){
in the end code should look like:
if (db_table_exists('watchdog')){
$result = db_query("SELECT * FROM {watchdog} WHERE type='cron exception' ORDER BY wid DESC");
$act = FALSE;
while ($r = db_fetch_array($result)) {
$variables = unserialize($r["variables"]);
if ($variables["@module"]==$row->module_name) {
$act = TRUE;
break;
}
}
}
Comments
Comment #1
DGyn commentedComment #2
MisterSpeed commentedFixed in 1.4. Thanks !
Comment #3
MisterSpeed commented