]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add 'avatar' to blacklisted names
authorEvan Prodromou <evan@prodromou.name>
Fri, 11 Jul 2008 17:11:13 +0000 (13:11 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 11 Jul 2008 17:11:13 +0000 (13:11 -0400)
darcs-hash:20080711171113-84dde-56b61d305e207bdb7d1fa844356fbc41e5bd43b9.gz

classes/User.php

index 99aac626f8c184ce41957816227800b7b36fdc8d..ab550b8e1a47ea71770e5df611505f7151720df9 100644 (file)
@@ -91,7 +91,7 @@ class User extends DB_DataObject
                # XXX: should already be validated for size, content, etc.
                static $blacklist = array('rss', 'xrds', 'doc', 'main',
                                                                  'settings', 'notice', 'user',
-                                                                 'search');
+                                                                 'search', 'avatar');
                $merged = array_merge($blacklist, common_config('nickname', 'blacklist'));
                return !in_array($nickname, $merged);
        }