Aleksander Machniak
2014-04-08 d22d119e3819b9c6722a751ba8fe64de3a9aeb5a
Fix compatibility with PHP 5.2
1 files modified
4 ■■■■ changed files
program/lib/Roundcube/rcube_plugin_api.php 4 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_plugin_api.php
@@ -233,7 +233,7 @@
    /**
     * Get information about a specific plugin.
     * This is either provided my a plugin's info() method or extracted from a package.xml or a composer.json file
     * This is either provided by a plugin's info() method or extracted from a package.xml or a composer.json file
     *
     * @param string Plugin name
     * @return array Meta information about a plugin or False if plugin was not found
@@ -279,7 +279,7 @@
        include($fn);
      if (class_exists($plugin_name))
        $info = $plugin_name::info();
        $info = call_user_func(array($plugin_name, 'info'));
      // fall back to composer.json file
      if (!$info) {