aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import_items.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Import_items.php')
-rw-r--r--Zotlabs/Module/Import_items.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/Zotlabs/Module/Import_items.php b/Zotlabs/Module/Import_items.php
index 4232de621..38be09b29 100644
--- a/Zotlabs/Module/Import_items.php
+++ b/Zotlabs/Module/Import_items.php
@@ -144,14 +144,14 @@ class Import_items extends Controller {
if (!is_array($data))
return;
- if (array_key_exists('compatibility', $data) && array_key_exists('database', $data['compatibility'])) {
- $v1 = substr($data['compatibility']['database'], -4);
- $v2 = substr(DB_UPDATE_VERSION, -4);
- if ($v2 > $v1) {
- $t = sprintf(t('Warning: Database versions differ by %1$d updates.'), $v2 - $v1);
- notice($t . EOL);
- }
- }
+ //if (array_key_exists('compatibility', $data) && array_key_exists('database', $data['compatibility'])) {
+ //$v1 = substr($data['compatibility']['database'], -4);
+ //$v2 = substr(DB_UPDATE_VERSION, -4);
+ //if ($v2 > $v1) {
+ //$t = sprintf(t('Warning: Database versions differ by %1$d updates.'), $v2 - $v1);
+ //notice($t . EOL);
+ //}
+ //}
if (array_key_exists('item', $data) && is_array($data['item'])) {
import_items($channel, $data['item'], false, ((array_key_exists('relocate', $data)) ? $data['relocate'] : null));