X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fshownotice.php;h=6055184fcdf2ced037e4cf8bde2dee2be15ebad2;hb=c2db2483a0e315f0050710bf6f224b2be3290039;hp=4f35d404696661304f665b73040850ee12a63d36;hpb=5650a6e9f7dc4c27d11e6f9fa211ca620b17ecb0;p=quix0rs-gnu-social.git diff --git a/actions/shownotice.php b/actions/shownotice.php index 4f35d40469..6055184fcd 100644 --- a/actions/shownotice.php +++ b/actions/shownotice.php @@ -22,7 +22,7 @@ * @category Personal * @package StatusNet * @author Evan Prodromou - * @copyright 2008-2009 StatusNet, Inc. + * @copyright 2008-2011 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -44,7 +44,7 @@ require_once INSTALLDIR.'/lib/feedlist.php'; * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ -class ShownoticeAction extends OwnerDesignAction +class ShownoticeAction extends Action { /** * Notice object to show @@ -214,7 +214,7 @@ class ShownoticeAction extends OwnerDesignAction if ($this->boolean('ajax')) { $this->showAjax(); } else { - if ($this->notice->is_local == Notice::REMOTE_OMB) { + if ($this->notice->is_local == Notice::REMOTE) { if (!empty($this->notice->url)) { $target = $this->notice->url; } else if (!empty($this->notice->uri) && preg_match('/^https?:/', $this->notice->uri)) { @@ -335,6 +335,6 @@ class SingleNoticeItem extends DoFollowListItem { function avatarSize() { - return AVATAR_PROFILE_SIZE; + return AVATAR_STREAM_SIZE; } }