diff --git a/notifications/inc/class.ajaxnotifications.inc.php b/notifications/inc/class.notifications_ajax.inc.php similarity index 98% rename from notifications/inc/class.ajaxnotifications.inc.php rename to notifications/inc/class.notifications_ajax.inc.php index 9638a7e4d0..a8be2354c9 100644 --- a/notifications/inc/class.ajaxnotifications.inc.php +++ b/notifications/inc/class.notifications_ajax.inc.php @@ -12,7 +12,7 @@ /** * Ajax methods for notifications */ -class ajaxnotifications { +class notifications_ajax { /** * Appname */ @@ -80,7 +80,7 @@ class ajaxnotifications { private $response; /** - * constructor of ajaxnotifications + * constructor * */ public function __construct() { @@ -98,7 +98,7 @@ class ajaxnotifications { } /** - * destructor of ajaxnotifications + * destructor * */ public function __destruct() {} diff --git a/notifications/inc/class.notifications_popup.inc.php b/notifications/inc/class.notifications_popup.inc.php index 0b621a1fcd..56bf6aef94 100644 --- a/notifications/inc/class.notifications_popup.inc.php +++ b/notifications/inc/class.notifications_popup.inc.php @@ -17,7 +17,7 @@ * notification is written into self::_notification_table. * In the second stage a request from the client reads * out the table to look if there is a notificaton for this - * client. The second stage is done in class.ajaxnotifications.inc.php + * client. The second stage is done in class.notifications_ajax.inc.php * * Todo: * - save the messages by uid instead of sessionid into the notification table, this diff --git a/notifications/js/notificationajaxpopup.js b/notifications/js/notificationajaxpopup.js index b056f795f8..e9a19389d9 100644 --- a/notifications/js/notificationajaxpopup.js +++ b/notifications/js/notificationajaxpopup.js @@ -18,7 +18,7 @@ function egwpopup_setTimeout() { window.setTimeout("egwpopup_refresh();", 60000); } function egwpopup_refresh() { - xajax_doXMLHTTP("notifications.ajaxnotifications.get_notifications"); + xajax_doXMLHTTP("notifications.notifications_ajax.get_notifications"); egwpopup_setTimeout(); }