grommunio /
grommunio-web
| 1 | <?php |
||
| 2 | require_once(__DIR__ . '/class.listnotifier.php'); |
||
| 3 | |||
| 4 | /** |
||
| 5 | * ContactListNotifier |
||
| 6 | * |
||
| 7 | * Generates notifications for changes to the |
||
| 8 | * Contact Folder contents. |
||
| 9 | */ |
||
| 10 | class ContactListNotifier extends ListNotifier |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Obtain the list of Message Properties which should be returned |
||
| 14 | * to the client when a Message was changed. |
||
| 15 | * @return Array The properties mapping |
||
| 16 | */ |
||
| 17 | protected function getPropertiesList() |
||
| 18 | { |
||
| 19 | return $GLOBALS["properties"]->getContactListProperties(); |
||
| 20 | } |
||
| 21 | } |
||
| 22 | ?> |
||
|
0 ignored issues
–
show
|
|||
| 23 |
Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.
A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.