From: Stéphane Jacob Date: Sun, 10 Jun 2012 16:07:30 +0000 (+0200) Subject: __destruct should be public. X-Git-Tag: xorg/1.1.6~41 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=dcb7e67d317ce33d27c7f95f3280d503740d0433;p=platal.git __destruct should be public. Signed-off-by: Stéphane Jacob --- 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