diff options
author | Mario <mario@mariovavti.com> | 2021-10-22 07:26:30 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-22 07:26:30 +0000 |
commit | 687b9fb6a20fd1b1a5ac48656d06e9540cba5534 (patch) | |
tree | cdabe070e2c32704fd38abe29b5dfe1c16992b23 /Zotlabs/Module/Import_items.php | |
parent | 9b9ca9695ce12fae8a542acadd6ff69abb6eac02 (diff) | |
download | volse-hubzilla-687b9fb6a20fd1b1a5ac48656d06e9540cba5534.tar.gz volse-hubzilla-687b9fb6a20fd1b1a5ac48656d06e9540cba5534.tar.bz2 volse-hubzilla-687b9fb6a20fd1b1a5ac48656d06e9540cba5534.zip |
comment out warning about db version differences - it is not relevant
Diffstat (limited to 'Zotlabs/Module/Import_items.php')
-rw-r--r-- | Zotlabs/Module/Import_items.php | 16 |
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)); |