mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
include Notification.php instead of setting services
This commit is contained in:
parent
542a6cb045
commit
25e12c5f5e
|
@ -76,8 +76,6 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
|
|||
$user->clearLoginFailures();
|
||||
|
||||
$dms->setUser($user);
|
||||
$notifier = new SeedDMS_NotificationService();
|
||||
if($settings->_enableEmail) {
|
||||
$notifier->addService(new SeedDMS_EmailNotify($dms));
|
||||
}
|
||||
|
||||
require_once('inc/inc.Notification.php');
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user