Move mod Contacts to /src/Module

This commit is contained in:
Jonny Tischbein
2018-10-11 23:14:12 +02:00
parent 735a5980bd
commit 80ea86113d
8 changed files with 1153 additions and 20 deletions
+2 -3
View File
@@ -5,8 +5,7 @@
use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
require_once 'mod/contacts.php';
use Friendica\Module\Contacts;
function update_contacts_content(App $a)
{
@@ -15,7 +14,7 @@ function update_contacts_content(App $a)
echo "<section>";
if ($_GET["force"] == 1) {
$text = contacts_content($a, true);
$text = Contacts::contacts_content($a, true);
} else {
$text = '';
}