MDL-41073 do not delete plugininfo caches when testing if upgrade necessary
MDL-41073 do not delete plugininfo caches when testing if upgrade necessary

This should help with performance for all users when admin is logged in
because these caches need to be purged only after upgrade.

dilawar/moodle