Fix code standards

This commit is contained in:
Michael 2023-09-02 19:37:20 +00:00
parent ee8cf83722
commit 5f0a3d392a
2 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,7 @@
* *
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/ */
namespace Friendica\Module\Conversation; namespace Friendica\Module\Conversation;

View File

@ -17,7 +17,6 @@
* You should have received a copy of the GNU Affero General Public License * You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
* *
* See update_profile.php for documentation
*/ */
namespace Friendica\Module\Update; namespace Friendica\Module\Update;
@ -36,11 +35,11 @@ class Channel extends ChannelModule
{ {
protected function rawContent(array $request = []) protected function rawContent(array $request = [])
{ {
$this->parseRequest(); $this->parseRequest($request);
$o = ''; $o = '';
if (!empty($request['force'])) { if (!empty($request['force'])) {
$o = DI::conversation()->render(self::getItems(), Conversation::MODE_CHANNEL, true, false, 'created', DI::userSession()->getLocalUserId()); $o = DI::conversation()->render(self::getItems($request), Conversation::MODE_CHANNEL, true, false, 'created', DI::userSession()->getLocalUserId());
} }
System::htmlUpdateExit($o); System::htmlUpdateExit($o);