getUpgradeFromPath('admin/upgrades/datadirs'); if ($upgrade->isCompleted()) { $count = 0; } else { $helper = new Elgg\Upgrades\Helper2013022000( elgg_get_site_entity()->guid, elgg_get_config('dbprefix') ); $helper->forgetFailures(); $count = $helper->countUnmigratedUsers(); } echo elgg_view('admin/upgrades/view', array( 'count' => $count, 'action' => 'action/admin/upgrades/upgrade_datadirs', )); access_show_hidden_entities($access_status);