Removes compatibility with non-hruid code (please use core-1.0.0 for non-hruid-compat...
[platal.git] / include / wiki.engine.inc.php
index ae32040..c97acc5 100644 (file)
@@ -126,12 +126,7 @@ $page->addJsLink('wiki.js');
 if (!Env::v('action')) {
     $url = '/' . str_replace('.', '/', $n) . '?action=rss';
     if (S::logged()) {
-        if (S::user()) {
-            $url .= '&user=' . S::user()->login() . '&hash=' . S::v('core_rss_hash');
-        } else {
-            // TODO(vzanotti): trash that code when forlife support will be gone.
-            $url .= '&user=' . S::v('forlife') . '&hash=' . S::v('core_rss_hash');
-        }
+        $url .= '&user=' . S::user()->login() . '&hash=' . S::v('core_rss_hash');
     }
     $page->setRssLink($n, $url);
 }