Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
@@ -28,7 +28,7 @@ class Mail
|
||||
*/
|
||||
public static function send($recipient = 0, $body = '', $subject = '', $replyto = '')
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
if (!$recipient) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user