Issue #1049284 by xjm: Fixed Running update.php to flush caches no longer works unless there are updates pending.