Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
@@ -23,7 +23,7 @@ class CalendarExport
|
||||
* @return string Formated HTML of the calendar widget.
|
||||
*/
|
||||
public static function getHTML() {
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
if (empty($a->data['user'])) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user