]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Conversation/Factory/Network.php
User Repository\UserDefinedChannel->selectByUid instead of Factory\UserDefinedChannel...
[friendica.git] / src / Content / Conversation / Factory / Network.php
index 873cb150c5a3c15f8eb3e240232f87de1f5c4bac..d7457a84606371499a0e2446460be023bf1f254e 100644 (file)
@@ -23,35 +23,9 @@ namespace Friendica\Content\Conversation\Factory;
 
 use Friendica\Content\Conversation\Collection\Timelines;
 use Friendica\Content\Conversation\Entity\Network as NetworkEntity;
-use Friendica\Content\Conversation\Repository\Channel;
-use Friendica\Core\Config\Capability\IManageConfigValues;
-use Friendica\Core\L10n;
-use Psr\Log\LoggerInterface;
 
 final class Network extends Timeline
 {
-       public function __construct(Channel $channel, L10n $l10n, LoggerInterface $logger, IManageConfigValues $config)
-       {
-               parent::__construct($channel, $l10n, $logger, $config);
-       }
-
-       public function createFromTableRow(array $row): NetworkEntity
-       {
-               return new NetworkEntity(
-                       $row['id'] ?? null,
-                       $row['label'],
-                       $row['description'] ?? null,
-                       $row['access-key'] ?? null,
-                       null,
-                       $row['uid'],
-                       $row['include-tags'] ?? null,
-                       $row['exclude-tags'] ?? null,
-                       $row['full-text-search'] ?? null,
-                       $row['media-type'] ?? null,
-                       $row['circle'] ?? null,
-               );
-       }
-
        /**
         * List of available network timelines
         *