aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-09 06:03:43 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-09 06:03:43 +0100
commit8c99228c8ab4d0475dc2065e5682dd22d680d4e7 (patch)
tree65d2d57bde451526dc1dc3567d4c8722c7df807b /mod/import.php
parent2935c5fe1ad7999d6abf527bfc8e8d353ceb9d32 (diff)
parentf984502499c836cde0be647907be505508c04e0c (diff)
downloadvolse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.tar.gz
volse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.tar.bz2
volse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.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 1a2c87a63..0bbd38ffe 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'] != UNO) {
+ && $data['compatibility']['server_role'] != get_server_role()) {
notice( t('Server platform is not compatible. Operation not permitted.') . EOL);
return;
}