// mod/network.php
<?php
+use Friendica\App;
+
function network_content(App $a) {
- $itemsmanager = new Friendica\ItemsManager();
+ $itemsmanager = new \Friendica\ItemsManager();
$items = $itemsmanager->getAll();
// pass $items to template
namespace Friendica;
+use Friendica\Protocol\DFRN;
+
// this is the same content of current include/delivery.php,
// but has been declared to be in "Friendica" namespace