forked from extern/egroupware
renamed ajax class to fit autoloading scheme
This commit is contained in:
parent
612f7be6d9
commit
5a53158bc7
@ -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() {}
|
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user