MDL-39563 Fixing mobilecssurl is not being returned in WebService get_siteinfo function
authorJuan Leyva <juanleyvadelgado@gmail.com>
Wed, 8 May 2013 09:51:46 +0000 (11:51 +0200)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Wed, 8 May 2013 09:51:46 +0000 (11:51 +0200)
webservice/externallib.php

index c9d1ab5..3b0990c 100644 (file)
@@ -157,7 +157,7 @@ class core_webservice_external extends external_api {
         $siteinfo['functions'] = $availablefunctions;
 
         // Mobile CSS theme and alternative login url
-        $siteinfo['mobilecssurl'] = get_config('admin', 'mobilecssurl');
+        $siteinfo['mobilecssurl'] = get_config(NULL, 'mobilecssurl');
 
         return $siteinfo;
     }