More code parts could take advantage of previously improved fixEmptyContentToDashes():
[mailer.git] / inc / modules / guest / what-active.php
index 36dd9e4443c3749550b1238d785853462363b0e7..a0075a13c91129ad9b06a0211032545fcb871dd9 100644 (file)
@@ -48,17 +48,9 @@ if ((!isExtensionActive('active')) && (!isAdmin())) {
        return;
 } // END - if
 
-// Extra field to include is by default userid
-$add = '';
-
-// If nickname is installed the extra field is the nickname of the user
-if (isExtensionActive('nickname')) {
-       $add = ', `nickname`';
-} // END - if
-
 // Check for members who were active only this day
 $result = SQL_QUERY("SELECT
-       `userid``, `last_online`".$add."
+       `userid``, `last_online`
 FROM
        `{?_MYSQL_PREFIX?}_user_data`
 WHERE