Improve newsletter.bounces.processor.py:
[platal.git] / classes / profile.php
index a05ed66..bb4d2bf 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2011 Polytechnique.org                              *
+ *  Copyright (C) 2003-2013 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -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