CVS update: /cowiki/includes/cowiki/class/core/
[email protected] 6 Apr 2005 00:27:00 -0000
| Newsgroups | gmane.comp.php.cowiki.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dgorski Date: 05/04/05 17:27:00 Modified: /cowiki/includes/cowiki/class/core/ class.Registry.php Log: Make getInstance() static File Changes: Directory: /cowiki/includes/cowiki/class/core/ ============================================== File [changed]: class.Registry.php Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/core/class.Registry.php?r1=1.21&r2=1.22 Delta lines: +3 -3 ------------------- --- class.Registry.php 16 Mar 2005 21:47:46 -0000 1.21 +++ class.Registry.php 6 Apr 2005 00:27:00 -0000 1.22 @@ -2,7 +2,7 @@ /** * - * $Id: class.Registry.php,v 1.21 2005/03/16 21:47:46 dgorski Exp $ + * $Id: class.Registry.php,v 1.22 2005/04/06 00:27:00 dgorski Exp $ * * This file is part of coWiki. coWiki is free software under the terms of * the GNU General Public License (GPL). Read the LICENSE file. If you did @@ -17,7 +17,7 @@ * @author Daniel T. Gorski, <[email protected]> * @copyright (C) Daniel T. Gorski, {@link http://www.develnet.org} * @license http://www.gnu.org/licenses/gpl.html - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ * */ @@ -50,7 +50,7 @@ * @author Daniel T. Gorski, <[email protected]> * @since coWiki 0.3.0 */ - public function getInstance() { + public static function getInstance() { if (!self::$Instance) { self::$Instance = new Registry; }