Changeset 6092 in subversion for trunk/roundcubemail/program/include/rcube.php
- Timestamp:
- Apr 16, 2012 7:59:08 AM (14 months ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/include/rcube.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube.php
r6091 r6092 3 3 /* 4 4 +-----------------------------------------------------------------------+ 5 | program/include/rc mail.php|5 | program/include/rcube.php | 6 6 | | 7 7 | This file is part of the Roundcube Webmail client | … … 37 37 38 38 /** 39 * Singleton instace of rc mail39 * Singleton instace of rcube 40 40 * 41 41 * @var rcmail … … 110 110 * This implements the 'singleton' design pattern 111 111 * 112 * @return rc mailThe one and only instance112 * @return rcube The one and only instance 113 113 */ 114 114 static function get_instance() … … 719 719 /*- 720 720 * Trim PHP's padding and the canary byte; see note in 721 * rc mail::encrypt() and http://php.net/mcrypt_generic#68082721 * rcube::encrypt() and http://php.net/mcrypt_generic#68082 722 722 */ 723 723 $clear = substr(rtrim($clear, "\0"), 0, -1); … … 849 849 $args = func_get_args(); 850 850 851 if (class_exists('rc mail', false)) {851 if (class_exists('rcube', false)) { 852 852 $rcube = self::get_instance(); 853 if (is_object($rcube->plugins)) { 854 $plugin = $rcube->plugins->exec_hook('console', array('args' => $args)); 855 if ($plugin['abort']) { 856 return; 857 } 858 $args = $plugin['args']; 853 $plugin = $rcube->plugins->exec_hook('console', array('args' => $args)); 854 if ($plugin['abort']) { 855 return; 859 856 } 857 $args = $plugin['args']; 860 858 } 861 859
Note: See TracChangeset
for help on using the changeset viewer.
