infolog update 1.9.006 changing async_method from (not longer existing) boinfolog to infolog_bo

This commit is contained in:
Ralf Becker 2014-01-28 08:34:23 +00:00
parent fbccbb87a3
commit 41ce90ff30
3 changed files with 20 additions and 4 deletions

View File

@ -21,7 +21,7 @@ class infolog_customfields
/**
* Instance of the infolog BO class
*
* @var boinfolog
* @var infolog_bo
*/
var $bo;
/**

View File

@ -6,13 +6,13 @@
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @package infolog
* @subpackage setup
* @copyright (c) 2003-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2003-14 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
$setup_info['infolog']['name'] = 'infolog';
$setup_info['infolog']['version'] = '1.9.005';
$setup_info['infolog']['version'] = '1.9.006';
$setup_info['infolog']['app_order'] = 5;
$setup_info['infolog']['tables'] = array('egw_infolog','egw_infolog_extra');
$setup_info['infolog']['enable'] = 1;

View File

@ -6,7 +6,7 @@
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @package infolog
* @subpackage setup
* @copyright (c) 2003-13 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2003-14 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
@ -703,6 +703,8 @@ WHERE parent.caldav_name=sub.caldav_name',__LINE__,__FILE__) as $row)
}
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.9.003';
}
function infolog_upgrade1_9_003()
{
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_infolog','caldav_name',array(
@ -713,6 +715,8 @@ function infolog_upgrade1_9_003()
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.9.004';
}
/**
* Enable ajax=true
*/
@ -720,3 +724,15 @@ function infolog_upgrade1_9_004()
{
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.9.005';
}
/**
* Change infolog async job method from infolog.boinfolog.async_notification to infolog_bo
*/
function infolog_upgrade1_9_005()
{
$GLOBALS['egw_setup']->db->query("UPDATE egw_async SET async_method='infolog.infolog_bo.async_notification'".
" WHERE async_method='infolog.boinfolog.async_notification'", __LINE__, __FILE__);
return $GLOBALS['setup_info']['infolog']['currentver'] = '1.9.006';
}