]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
new -> staticGet
authorEvan Prodromou <evan@prodromou.name>
Wed, 30 Jul 2008 03:33:04 +0000 (23:33 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 30 Jul 2008 03:33:04 +0000 (23:33 -0400)
darcs-hash:20080730033304-84dde-159bd4582731d2adfb8b7306ee6eb44ce25d256a.gz

lib/stream.php

index 4dbb99093ef93459a0a414d905b8a728eb57aad8..4001ca47bba5c8785d2fa91e3d681f1dbc93246f 100644 (file)
@@ -147,7 +147,7 @@ class StreamAction extends Action {
                        common_element('span', 'noticesource', $source_name);
                        break;
                 default:
-                       $ns = new Notice_source($source);
+                       $ns = Notice_source::staticGet($source);
                        if ($ns) {
                                common_element('a', array('href' => $ns->url),
                                                           $ns->name);