]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
fix reading sitename config
[friendica.git] / include / enotify.php
index 928d2b4b484c2b818618e6b600b271ec6a4f3d1e..c41f55a5d6d55e1b1d6e1286255708463dbcf433 100644 (file)
@@ -17,7 +17,7 @@ function notification($params) {
        $product = FRIENDICA_PLATFORM;
        $siteurl = $a->get_baseurl(true);
        $thanks = t('Thank You,');
-       $sitename = get_config('config','sitename');
+       $sitename = $a->config['sitename'];
        $site_admin = sprintf( t('%s Administrator'), $sitename);
 
        $sender_name = $product;
@@ -214,11 +214,10 @@ function notification($params) {
        }
 
        if($params['type'] == NOTIFY_CONFIRM) {
-
        }
 
        if($params['type'] == NOTIFY_SYSTEM) {
-               
+
        }
 
        $h = array(