namespace Friendica\Worker;
use Friendica\Core\Logger;
-use Friendica\Protocol\PortableContact;
+use Friendica\Model\GServer;
-class UpdateServerDirectory.php
+class UpdateServerDirectory
{
- // Discover the given server id for their contacts
- public static function execute($gserverid)
+ /**
+ * Query the given server for their users
+ * @param string $gserver Server URL
+ */
+ public static function execute($gserver)
{
- PortableContact::discoverSingleServer(gserverid);
+ GServer::updateDirectory($gserver);
return;
}
}