aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-24 17:44:27 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-24 17:44:27 +0100
commitddeab48f9b314eed067c31086945acee33964d37 (patch)
treea814d6244991017af57ea03670d45d9ca1286cc0 /mod/import.php
parentcc264b2d60049a844fe17322fbcb367712a7071f (diff)
parent039eb585240a5fa106ede00a055036458a4f5393 (diff)
downloadvolse-hubzilla-ddeab48f9b314eed067c31086945acee33964d37.tar.gz
volse-hubzilla-ddeab48f9b314eed067c31086945acee33964d37.tar.bz2
volse-hubzilla-ddeab48f9b314eed067c31086945acee33964d37.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/import.php b/mod/import.php
index 0bbd38ffe..184159585 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -120,7 +120,7 @@ function import_account(&$a, $account_id) {
notice($t);
}
if(array_key_exists('server_role',$data['compatibility'])
- && $data['compatibility']['server_role'] != get_server_role()) {
+ && $data['compatibility']['server_role'] != Zotlabs\Project\System::get_server_role()) {
notice( t('Server platform is not compatible. Operation not permitted.') . EOL);
return;
}