StartupAPI / users

:zap: User management tool to be used in on-line projects. Includes admin dashboard.
http://www.StartupAPI.com/
MIT License
60 stars 24 forks source link

[Insight] Unused method, property, variable or parameter - in default_config.php, line 1063 #214

Closed sergeychernyshev closed 8 years ago

sergeychernyshev commented 8 years ago

in default_config.php, line 1063

This registration_url local variable is declared but never used. You should remove it.

     */
    public static function renderInvitationEmailMessage($invitation) {
        $code = $invitation->getCode();

        $registration_code_link = UserConfig::$USERSROOTFULLURL . '/register.php?invite=' . urlencode($code);
        $registration_url = UserConfig::$USERSROOTFULLURL . '/register.php';

        $app = self::$appName;
        $issuer_name = $invitation->getIssuer()->getName();

        $account = $invitation->getAccount();

Posted from SensioLabsInsight