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
This commit is contained in:
Jasper St. Pierre 2011-10-28 15:47:51 -04:00
parent cf44234323
commit 203c5db5eb

View File

@ -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;