renamed ajax class to fit autoloading scheme

This commit is contained in:
Christian Binder 2009-04-03 20:36:28 +00:00
parent 612f7be6d9
commit 5a53158bc7
3 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
/** /**
* Ajax methods for notifications * Ajax methods for notifications
*/ */
class ajaxnotifications { class notifications_ajax {
/** /**
* Appname * Appname
*/ */
@ -80,7 +80,7 @@ class ajaxnotifications {
private $response; private $response;
/** /**
* constructor of ajaxnotifications * constructor
* *
*/ */
public function __construct() { public function __construct() {
@ -98,7 +98,7 @@ class ajaxnotifications {
} }
/** /**
* destructor of ajaxnotifications * destructor
* *
*/ */
public function __destruct() {} public function __destruct() {}

View File

@ -17,7 +17,7 @@
* notification is written into self::_notification_table. * notification is written into self::_notification_table.
* In the second stage a request from the client reads * In the second stage a request from the client reads
* out the table to look if there is a notificaton for this * 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: * Todo:
* - save the messages by uid instead of sessionid into the notification table, this * - save the messages by uid instead of sessionid into the notification table, this

View File

@ -18,7 +18,7 @@ function egwpopup_setTimeout() {
window.setTimeout("egwpopup_refresh();", 60000); window.setTimeout("egwpopup_refresh();", 60000);
} }
function egwpopup_refresh() { function egwpopup_refresh() {
xajax_doXMLHTTP("notifications.ajaxnotifications.get_notifications"); xajax_doXMLHTTP("notifications.notifications_ajax.get_notifications");
egwpopup_setTimeout(); egwpopup_setTimeout();
} }