aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2018-03-12 19:50:25 -0400
committerAndrew Manning <tamanning@zoho.com>2018-03-12 19:50:25 -0400
commitdcd658f12ea60945678717e3c310e94ece7b1f96 (patch)
tree295f4a521ed34417c0bf3abf09dab345bf46000c /Zotlabs/Module/Import.php
parentaa6f7481a023c04b30ffc6aec2016e2b7b3b386f (diff)
parentb265a55b815e46658aadec9021bb00997cb40bc7 (diff)
downloadvolse-hubzilla-dcd658f12ea60945678717e3c310e94ece7b1f96.tar.gz
volse-hubzilla-dcd658f12ea60945678717e3c310e94ece7b1f96.tar.bz2
volse-hubzilla-dcd658f12ea60945678717e3c310e94ece7b1f96.zip
Merge branch 'dev' into oauth2
Diffstat (limited to 'Zotlabs/Module/Import.php')
-rw-r--r--Zotlabs/Module/Import.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/Zotlabs/Module/Import.php b/Zotlabs/Module/Import.php
index 36bd72310..81c405f00 100644
--- a/Zotlabs/Module/Import.php
+++ b/Zotlabs/Module/Import.php
@@ -114,15 +114,16 @@ class Import extends \Zotlabs\Web\Controller {
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);
- }
-
- }
+// This is only an info message but it is alarming to folks who then report failure with this as the cause, when in fact we ignore this completely.
+// 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);
+// }
+//
+// }
if($moving)
$seize = 1;