]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Subscription.php
Add new purge contacts option to admin server blocklist
[friendica.git] / src / Model / Subscription.php
index c6c57c732835da504b97cb9c6f95215636456b5a..31048d963f3350977bfb5a7018adc4f942e4c053 100644 (file)
@@ -154,7 +154,7 @@ class Subscription
                }
 
                if ($desktop_notification) {
-                       notification_from_array($Notification);
+                       DI::notify()->createFromNotification($Notification);
                }
 
                if (empty($type)) {