Revision
84
Author
leonpegg
Date
2007-01-03 05:03:34 -0800 (Wed, 03 Jan 2007)

Log Message

Changed CC_Config::__destruct from protected to public (So it actually gets called) 

Modified Paths

Diff

Modified: trunk/lib/config.class.php (83 => 84)


--- trunk/lib/config.class.php	2007-01-03 12:59:14 UTC (rev 83)
+++ trunk/lib/config.class.php	2007-01-03 13:03:34 UTC (rev 84)
@@ -134,13 +134,13 @@
 	}
 
 	/**
-	 * protected function __destruct
+	 * public function __destruct
 	 *
 	 * actually writes the file out
 	 *
 	 * @return void
 	 */
-	protected function __destruct()
+	public function __destruct()
 	{
 		$string = CC::i18n(';Preferences and Configuration for Callicore ') . $this->program
 			. EOL . CC::i18n('; Saved ') . date('Y-m-d H:i:s') . EOL . EOL;