remove hooks from EMailAdmin as it might screw up adding/removing accounts

if EMailAdmin has not been deinstalled, as it should have been by 16.1 update
This commit is contained in:
Ralf Becker 2017-11-14 15:19:42 +01:00
parent 1124f1560f
commit b510a39c37

View File

@ -8,7 +8,6 @@
* @package emailadmin
* @subpackage setup
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
// do NOT offer emailadmin for installation
@ -27,7 +26,7 @@ $setup_info['emailadmin']['maintainer'] = array(
);
$setup_info['emailadmin']['license'] = 'GPL';
$setup_info['emailadmin']['description'] =
'A central Mailserver management application for EGroupWare. Completely rewritten by Ralf Becker in 2013/14';
'EMailAdmin directory only exists in 16.1+ to allow updating from previous versions, without loosing email configuration.';
$setup_info['emailadmin']['tables'][] = 'egw_emailadmin';
$setup_info['emailadmin']['tables'][] = 'egw_mailaccounts';
@ -36,72 +35,3 @@ $setup_info['emailadmin']['tables'][] = 'egw_ea_credentials';
$setup_info['emailadmin']['tables'][] = 'egw_ea_identities';
$setup_info['emailadmin']['tables'][] = 'egw_ea_valid';
$setup_info['emailadmin']['tables'][] = 'egw_ea_notifications';
/* The hooks this app includes, needed for hooks registration */
$setup_info['emailadmin']['hooks']['deleteaccount'] = 'emailadmin_hooks::deleteaccount';
$setup_info['emailadmin']['hooks']['addaccount'] = 'emailadmin_hooks::addaccount';
$setup_info['emailadmin']['hooks']['editaccount'] = 'emailadmin_hooks::addaccount';
$setup_info['emailadmin']['hooks']['deletegroup'] = 'emailadmin_hooks::deletegroup';
$setup_info['emailadmin']['hooks']['changepassword'] = 'emailadmin_hooks::changepassword';
/* Dependencies for this app to work */
$setup_info['emailadmin']['depends'][] = array(
'appname' => 'phpgwapi',
'versions' => Array('14.1')
);
$setup_info['emailadmin']['depends'][] = array(
'appname' => 'etemplate',
'versions' => Array('14.1')
);
// installation checks
$setup_info['emailadmin']['check_install'] = array(
'' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
),
'pear.horde.org/Horde_Imap_Client' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '2.24.2',
),
'pear.horde.org/Horde_Nls' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '2.0.3',
),
'pear.horde.org/Horde_Mail' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '2.1.2',
),
'pear.horde.org/Horde_Smtp' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '1.3.0',
),
'pear.horde.org/Horde_ManageSieve' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '1.0.1',
),
// next 4 are required for TNEF support
'pear.horde.org/Horde_Compress' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '2.0.8',
),
'pear.horde.org/Horde_Icalendar' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '2.0.0',
),
'pear.horde.org/Horde_Mapi' => array(
'func' => 'pear_check',
'from' => 'EMailAdmin',
'version' => '1.0.0',
),
'bcmath' => array(
'func' => 'extension_check',
'from' => 'EMailAdmin',
),
);