/** * perform */ function perform() { $userId = $this->createUser(); if (!$userId) { return false; } $blogId = $this->createBlog($userId); if (!$blogId) { return false; } // let's assume that everything went fine at this point... $this->doneRegister(); // reset the summary cache, since there's new information to show CacheControl::resetSummaryCache(); }