| | |
| | | <?php |
| | | /* |
| | | Copyright (c) 2007-2010, Till Brehm, projektfarm Gmbh and Oliver Vogel www.muv.com |
| | | Copyright (c) 2007-2010, Till Brehm, projektfarm Gmbh, Oliver Vogel www.muv.com |
| | | All rights reserved. |
| | | |
| | | Redistribution and use in source and binary forms, with or without modification, |
| | |
| | | //* This function is called during ispconfig installation to determine |
| | | // if a symlink shall be created for this plugin. |
| | | function onInstall() { |
| | | return true; |
| | | return false; |
| | | } |
| | | |
| | | /* |
| | |
| | | /* |
| | | * Check for actions to execute |
| | | */ |
| | | $this->_execActions(); |
| | | //* This module has been replaced by the new action framework. |
| | | // $this->_execActions(); |
| | | } |
| | | |
| | | /* |
| | |
| | | * we stop executing the actions not to waste more time */ |
| | | return; |
| | | } |
| | | |
| | | if ($action['action_type'] == 'ispc_update') { |
| | | /* do the update */ |
| | | $this->_doIspCUpdate($action); |
| | | // Update function has been removed |
| | | // $this->_doIspCUpdate($action); |
| | | /* this action takes so much time, |
| | | * we stop executing the actions not to waste more time */ |
| | | return; |
| | | $this->_actionDone($action['action_id'], 'ok'); |
| | | } |
| | | if ($action['action_type'] == 'openvz_start_vm') { |
| | | $veid = intval($action['action_param']); |