From dcb7e67d317ce33d27c7f95f3280d503740d0433 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 10 Jun 2012 18:07:30 +0200 Subject: [PATCH] __destruct should be public. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- classes/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/profile.php b/classes/profile.php index a05ed66..593568c 100644 --- a/classes/profile.php +++ b/classes/profile.php @@ -171,7 +171,7 @@ class Profile implements PlExportable $this->visibility = $visibility; } - private function __destruct() + public function __destruct() { // Need to delete objects allocated by the profile // http://www.php.net/manual/en/function.unset.php#98692 -- 2.1.4