aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Import.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-10 13:20:20 -0800
committerzotlabs <mike@macgirvin.com>2018-03-10 13:20:20 -0800
commita417389934933af64e631c6372d410cbf864450a (patch)
treec4316ac5ec757f1ac36060c0d97e20ca24e10c88 /Zotlabs/Module/Import.php
parent3ee35b83c2651b9c9ab6a27cab4ea6517375744f (diff)
downloadvolse-hubzilla-a417389934933af64e631c6372d410cbf864450a.tar.gz
volse-hubzilla-a417389934933af64e631c6372d410cbf864450a.tar.bz2
volse-hubzilla-a417389934933af64e631c6372d410cbf864450a.zip
trim expects error ... in admin/site
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;