[Phpslash-commit] CVS: phpslash-ft/class MailingList.class,1.8,1.9
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-03-16 17:15:15
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv12489/phpslash-ft/class Modified Files: MailingList.class Log Message: [ 530173 ] mailinglist reply on success Index: MailingList.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/MailingList.class,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** MailingList.class 3 Feb 2002 02:49:39 -0000 1.8 --- MailingList.class 16 Mar 2002 17:15:12 -0000 1.9 *************** *** 179,182 **** --- 179,183 ---- $errors = true; $this->message = pslgetText("There was an error inserting your subscription information into the database."); + return false; } else { *************** *** 190,193 **** --- 191,195 ---- $this->message = pslgetText("You have been successfully subscribed, but there was a problem sending your confirmation email. You should, however receive your newsletter soon."); } + return true; } } *************** *** 229,232 **** --- 231,236 ---- } // end confirmation if } // end 'ok' if + + return $ok; } // end unsubscribe function |