[gnome-shell] extensionSystem: Remove duplciated version check



commit 203c5db5ebcd484cab17cad5b622f41338a60b38
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Oct 28 15:47:51 2011 -0400

    extensionSystem: Remove duplciated version check
    
    This piece of accidentally duplicated code made sure that the OUT_OF_DATE
    status was never set.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662967

 js/ui/extensionSystem.js |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js
index f70aecd..a1fdbde 100644
--- a/js/ui/extensionSystem.js
+++ b/js/ui/extensionSystem.js
@@ -346,12 +346,6 @@ function loadExtension(dir, type, enabled) {
         return;
     }
 
-    if (!versionCheck(meta['shell-version'], Config.PACKAGE_VERSION) ||
-        (meta['js-version'] && !versionCheck(meta['js-version'], Config.GJS_VERSION))) {
-        logExtensionError(uuid, 'extension is not compatible with current GNOME Shell and/or GJS version');
-        return;
-    }
-
     extensionMeta[uuid] = meta;
     meta.type = type;
     meta.dir = dir;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]