]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - index.php
Add Attention class for non-sub and non-mention notice attentions
[quix0rs-gnu-social.git] / index.php
index dbb7fff6f835e51435a12b6b782511b106870ced..82be959455933141957f2eb12bc9f5a4a2ff987b 100644 (file)
--- a/index.php
+++ b/index.php
@@ -41,8 +41,8 @@ $_startTime = microtime(true);
 $_perfCounters = array();
 
 define('INSTALLDIR', dirname(__FILE__));
-define('STATUSNET', true);
-define('LACONICA', true); // compatibility
+define('GNUSOCIAL', true);
+define('STATUSNET', true);  // compatibility
 
 $user = null;
 $action = null;
@@ -203,7 +203,7 @@ function setupRW()
 
 function isLoginAction($action)
 {
-    static $loginActions =  array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds', 'otp', 'opensearch', 'rsd', 'hostmeta');
+    static $loginActions =  array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds', 'otp', 'opensearch', 'rsd');
 
     $login = null;
 
@@ -242,8 +242,6 @@ function main()
     }
     global $user, $action;
 
-    Snapshot::check();
-
     if (!_have_config()) {
         $msg = sprintf(
             // TRANS: Error message displayed when there is no StatusNet configuration file.