D7net Mini Sh3LL v1

 
OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0775) :  /var/www/html/hpsc/../marc-drupal/modules/openid/../system/../book/../system/tests/

 Home   ☍ Command   ☍ Upload File   ☍Info Server   ☍ Buat File   ☍ Mass deface   ☍ Jumping   ☍ Config   ☍ Symlink   ☍ About 

Current File : /var/www/html/hpsc/../marc-drupal/modules/openid/../system/../book/../system/tests/cron_queue_test.module
<?php

/**
 * Implements hook_cron_queue_info().
 */
function cron_queue_test_cron_queue_info() {
  $queues['cron_queue_test_exception'] = array(
    'worker callback' => 'cron_queue_test_exception',
  );
  $queues['cron_queue_test_callback'] = array(
    'worker callback' => array('CronQueueTestCallbackClass', 'foo'),
  );

  return $queues;
}

function cron_queue_test_exception($item) {
  throw new Exception('That is not supposed to happen.');
}

class CronQueueTestCallbackClass {

  static public function foo() {
    // Do nothing.
  }

}

AnonSec - 2021 | Recode By D7net