From 85c972a4f79c7e9548a6cd7f9d9336c5f2886a4a Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 29 Jan 2013 02:55:37 -0500
Subject: [PATCH] Make get_instance() a static method
---
installer/rcube_install.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 33fd4c6..2805dc7 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -64,7 +64,7 @@
/**
* Constructor
*/
- function rcube_install()
+ function __construct()
{
$this->step = intval($_REQUEST['_step']);
$this->is_post = $_SERVER['REQUEST_METHOD'] == 'POST';
@@ -73,7 +73,7 @@
/**
* Singleton getter
*/
- function get_instance()
+ static function get_instance()
{
static $inst;
--
Gitblit v1.9.1