Changeset 32537 in spip-zone


Ignore:
Timestamp:
Oct 31, 2009, 4:12:36 PM (10 years ago)
Author:
cedric@…
Message:

des include manquants

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/job_queue/inc/queue.php

    r31716 r32537  
    3232 */
    3333function queue_add_job($function, $description, $arguments = array(), $file = '', $no_duplicate = false, $time=0, $priority=0){
     34        include_spip('base/abstract_sql');
    3435
    3536        // serialiser les arguments
     
    7879 */
    7980function queue_remove_job($id_job){
     81        include_spip('base/abstract_sql');
     82
    8083        if ($row = sql_fetsel('fonction,inclure,date','spip_jobs','id_job='.intval($id_job))
    8184         AND $res = sql_delete('spip_jobs','id_job='.intval($id_job))){
     
    104107 */
    105108function queue_link_job($id_job,$objets){
     109        include_spip('base/abstract_sql');
     110
    106111        if (is_array($objets) AND count($objets)){
    107112                if (is_array(reset($objets))){
     
    175180        if ($GLOBALS['meta']['queue_next_job_time']>$start)
    176181                return;
     182
     183        include_spip('base/abstract_sql');
    177184
    178185        $max_time = ini_get('max_execution_time')/2;
     
    251258 */
    252259function queue_update_next_job_time($next_time=null){
     260        include_spip('base/abstract_sql');
     261
    253262        if (is_null($next_time) OR !isset($GLOBALS['meta']['queue_next_job_time'])){
    254263                $date = sql_getfetsel('date','spip_jobs','','','date','0,1');
Note: See TracChangeset for help on using the changeset viewer.