mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
cf44234323
commit
203c5db5eb
1 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue