]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/overview-inc.php
Unsupported extensions removed, several rewrites to extension handling, 'yoomedia...
[mailer.git] / inc / modules / admin / overview-inc.php
index fe806cb55eff8c309c1ef057875344d21098ae2c..cfbd6efc5fcfe36926f622234d007dc4e6920133 100644 (file)
@@ -94,8 +94,9 @@ function OUTPUT_STANDARD_OVERVIEW(&$result_tasks) {
                                        SQL_FREERESULT($result);
                                } // END - if
 
-                               // Update extension
-                               if (!empty($ext_ver)) EXTENSION_UPDATE($file, $ext, $ext_ver);
+                               // Update extension if extension is installed and outdated
+                               //* DEBUG: */ print "ext={$ext},ver={$ext_ver}/".GET_EXT_VERSION($ext)."<br />\n";
+                               if ((!empty($ext_ver)) && (EXT_IS_ACTIVE($ext)) && (GET_EXT_VERSION($ext) > $ext_ver)) EXTENSION_UPDATE($file, $ext, $ext_ver);
 
                                if (!empty($cacheArray['active_extensions'][$ext])) {
                                        // Maybe we want to keept the current extension active?