[pLog-svn] r513 - in plog/trunk/class/summary: . action mail

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Dec 17 11:22:05 GMT 2004


Author: oscar
Date: 2004-12-17 11:22:05 +0000 (Fri, 17 Dec 2004)
New Revision: 513

Added:
   plog/trunk/class/summary/mail/
   plog/trunk/class/summary/mail/confirmemailmessage.class.php
Modified:
   plog/trunk/class/summary/action/dofinishregister.class.php
Log:
moved ConfirmEmailMessage from summary/dao to mail/dao... somehow, I feel it's bette if it's there (after all the class is related to the mail subsystem and not to the DAO one!) Hope anybody minds :)


Modified: plog/trunk/class/summary/action/dofinishregister.class.php
===================================================================
--- plog/trunk/class/summary/action/dofinishregister.class.php	2004-12-17 09:09:55 UTC (rev 512)
+++ plog/trunk/class/summary/action/dofinishregister.class.php	2004-12-17 11:22:05 UTC (rev 513)
@@ -1,7 +1,7 @@
 <?php
 
 	include_once( PLOG_CLASS_PATH."class/summary/action/registeraction.class.php" );
-	include_once( PLOG_CLASS_PATH."class/summary/dao/confirmemailmessage.class.php" );
+	include_once( PLOG_CLASS_PATH."class/summary/mail/confirmemailmessage.class.php" );
     include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
     include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
 
@@ -221,7 +221,7 @@
             $message = new ConfirmEmailMessage();
             $message->setFrom( $this->_config->getValue( "post_notification_source_address" ));
             $message->addTo( $this->userEmail);
-            $message->setSubject( "registration confirm for: ".$this->userName);
+            $message->setSubject( "pLog user registration confirmation for: ".$this->userName);
             $message->setUsername($this->userName);
             $message->setActiveCode($activeCode);
 
@@ -258,4 +258,4 @@
      * vim600:  et sw=4 ts=4 fdm=marker expandtab
      * vim<600: et sw=4 ts=4 expandtab
      */
-?>
+?>
\ No newline at end of file

Copied: plog/trunk/class/summary/mail/confirmemailmessage.class.php (from rev 512, plog/trunk/class/summary/dao/confirmemailmessage.class.php)




More information about the pLog-svn mailing list