Author: grobmeier
Date: Thu Aug 27 06:41:37 2009
New Revision: 808297

URL: http://svn.apache.org/viewvc?rev=808297&view=rev
Log:
removed serialization methods

Modified:
    incubator/log4php/trunk/src/main/php/LoggerAppender.php

Modified: incubator/log4php/trunk/src/main/php/LoggerAppender.php
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/LoggerAppender.php?rev=808297&r1=808296&r2=808297&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/LoggerAppender.php (original)
+++ incubator/log4php/trunk/src/main/php/LoggerAppender.php Thu Aug 27 06:41:37 
2009
@@ -268,39 +268,4 @@
         * @abstract
         */
        abstract public function close();
-
-       /**
-        * Finalize this appender by calling the derived class' <i>close()</i> 
method.
-        */
-       public function finalize()  {
-               // An appender might be closed then garbage collected. There is 
no
-               // point in closing twice.
-               if($this->closed) {
-                       return;
-               }
-               $this->close();
-       }
-               
-       /**
-        * Perform actions before object serialization.
-        *
-        * Call {...@link finalize()} to properly close the appender.
-        */
-       public function __sleep() {
-               $this->finalize();
-               return array_keys(get_object_vars($this)); 
-       }
-
-       public function __destruct() {
-               $this->finalize();
-       }
-
-/**
-        * Perform actions after object de-serialization.
-        *
-        * Call {...@link activateOptions()} to properly setup the appender.
-        */
-       public function __wakeup() {
-               $this->activateOptions();
-       }
 }


Reply via email to