From 94c6c7888a4f5489a273b7bcabc7dc9fadec3fca Mon Sep 17 00:00:00 2001 From: Vincent Zanotti Date: Sun, 23 Mar 2008 00:50:49 +0100 Subject: [PATCH] Fixes invocation of EmailStorage methods. Signed-off-by: Vincent Zanotti --- include/googleapps.inc.php | 4 ++-- modules/register.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/googleapps.inc.php b/include/googleapps.inc.php index e6cd099..54e3efe 100644 --- a/include/googleapps.inc.php +++ b/include/googleapps.inc.php @@ -37,7 +37,7 @@ function post_queue_u_create($job) { if ($account->activate_mail_redirection) { require_once('emails.inc.php'); $storage = new EmailStorage($userid, 'googleapps'); - $storage->enable(); + $storage->activate(); } // Sends the 'account created' email to the user, with basic documentation. @@ -79,7 +79,7 @@ function post_queue_u_update($job) { // Re-adds the email redirection (if the user did request it). if ($account->activate_mail_redirection) { $storage = new EmailStorage($userid, 'googleapps'); - $storage->enable(); + $storage->activate(); } // Sends an email to the account owner. diff --git a/modules/register.php b/modules/register.php index 7d43a1b..1af07e5 100644 --- a/modules/register.php +++ b/modules/register.php @@ -484,7 +484,7 @@ class RegisterModule extends PLModule if (Post::v('imap')) { require_once 'emails.inc.php'; $storage = new EmailStorage(S::v('uid'), 'imap'); - $storage->enable(); + $storage->activate(); } pl_redirect('profile/edit'); -- 2.1.4