aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-07 18:11:10 -0800
committerredmatrix <git@macgirvin.com>2016-02-07 18:11:10 -0800
commitd8e6fd5df0713ef4f52277944d15fd8230deec81 (patch)
treead5cb27b976ab3670b86cfb2ddfface8f47cf559 /mod/import.php
parentec950de2054243f22e7d6b30e4d7b9b41f293d4e (diff)
downloadvolse-hubzilla-d8e6fd5df0713ef4f52277944d15fd8230deec81.tar.gz
volse-hubzilla-d8e6fd5df0713ef4f52277944d15fd8230deec81.tar.bz2
volse-hubzilla-d8e6fd5df0713ef4f52277944d15fd8230deec81.zip
provide get_server_role() to abstract different roles and capabilities
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;
}