do not include inc/inc.ClassEmail.php twice

This commit is contained in:
Uwe Steinmann 2014-11-24 19:00:04 +01:00
parent 8614412908
commit 0a3f4e1fd7

View File

@ -208,8 +208,6 @@ switch($command) {
case 'testmail': /* {{{ */
if($user && $user->isAdmin()) {
if($user->getEmail()) {
include("../inc/inc.ClassEmail.php");
$emailobj = new SeedDMS_Email($settings->_smtpSendFrom, $settings->_smtpServer, $settings->_smtpPort, $settings->_smtpUser, $settings->_smtpPassword);
$params = array();