#!/usr/bin/env php . */ define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); $shortoptions = 'i::'; $longoptions = array('id::'); $helptext = <<log(LOG_INFO, "INITIALIZE"); return true; } function handle_notice($notice) { Event::handle('HandleQueuedNotice', array(&$notice)); return true; } } if (have_option('i', 'id')) { $id = get_option_value('i', 'id'); } else { $id = null; } $handler = new PluginQueueHandler($id); $handler->runOnce();