]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/webcolor.php
Merge branch 'temp'
[quix0rs-gnu-social.git] / lib / webcolor.php
index aaf31d990363921d3036a3878cd683fcd200557a..6fa603fa2ac89286b47e2b00924808be40577f4f 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * Laconica, the distributed open-source microblogging tool
+ * StatusNet, the distributed open-source microblogging tool
  *
  * Base class for deleting things
  *
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
  * @category  Personal
- * @package   Laconica
- * @author    Zach Copley <zach@controlyourself.ca>
- * @copyright 2009 Control Yourself, Inc.
+ * @package   StatusNet
+ * @author    Zach Copley <zach@status.net>
+ * @copyright 2009 StatusNet, Inc.
  * @license   http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
- * @link      http://laconi.ca/
+ * @link      http://status.net/
  */
 
-if (!defined('LACONICA')) {
+if (!defined('STATUSNET') && !defined('LACONICA')) {
      exit(1);
 }
 
@@ -164,7 +164,7 @@ class WebColor {
         $hexcolor .= (strlen(dechex($this->blue)) < 2 ? '0' : '') .
             dechex($this->blue);
 
-        return $hexcolor;
+        return strtoupper($hexcolor);
 
     }