zikula-modules / Multisites

Multisites on a single Zikula instance
https://github.com/zikula-modules/Multisites
10 stars 3 forks source link

Fix and improve updating of core and extensions #15

Open Guite opened 10 years ago

Guite commented 10 years ago

This issue is for brainstorming.

    foreach ($newmods as $newmod) {
        ZLanguage::bindModuleDomain($newmod['name']);
        ModUtil::apiFunc('Extensions', 'admin', 'upgrade', array('id' => $newmod['id']));
    }

Variant 2

SELECT table_schema FROM information_schema.tables
WHERE table_name = 'some_module_table';
Guite commented 10 years ago

Related code of version 1.0 is stored in Resources/future/ManageUpdates_oldCode.zip for reference.