Skip to content

Commit 7647896

Browse files
Fediklaoneo
andauthored
Revert "[5.2] Load the namespace from the cached manifest (#44737)" (#44755)
This reverts commit ca1a8e6. Co-authored-by: Allon Moritz <[email protected]>
1 parent 129a05f commit 7647896

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libraries/src/Component/ComponentHelper.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ protected static function load()
383383
$loader = function () {
384384
$db = Factory::getDbo();
385385
$query = $db->getQuery(true)
386-
->select($db->quoteName(['extension_id', 'element', 'params', 'enabled', 'manifest_cache'], ['id', 'option', null, null, null]))
386+
->select($db->quoteName(['extension_id', 'element', 'params', 'enabled'], ['id', 'option', null, null]))
387387
->from($db->quoteName('#__extensions'))
388388
->where(
389389
[
@@ -397,9 +397,6 @@ protected static function load()
397397
$db->setQuery($query);
398398

399399
foreach ($db->getIterator() as $component) {
400-
$component->namespace = (new Registry($component->manifest_cache))->get('namespace');
401-
unset($component->manifest_cache);
402-
403400
$components[$component->option] = new ComponentRecord((array) $component);
404401
}
405402

0 commit comments

Comments
 (0)