diff options
author | Individual IT Services <info@individual-it.net> | 2015-09-10 10:05:07 +0545 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-29 15:34:42 +0200 |
commit | fbe43e6a267389aebacd08b0d3965ee29f7b0c4c (patch) | |
tree | 06a4ba555f1b10aabe70a8d76b24a7936c43229f /tests/phpunit.xml.dist | |
parent | 1abd4f52bb5a2300a279d8b9eb0d15d22721b575 (diff) | |
download | nextcloud-server-fbe43e6a267389aebacd08b0d3965ee29f7b0c4c.tar.gz nextcloud-server-fbe43e6a267389aebacd08b0d3965ee29f7b0c4c.zip |
cache result of \OCP\Util::needUpgrade()
reduce calls of \OCP\Util::needUpgrade()
where \OCP\Util::needUpgrade() is called we can call as well
self::checkUpgrade and use the cached result
In line 877 the call way unnecessary anyway because of the first part of
the if statement
move caching to \OCP\Util::needUpgrade
renaming variable
fixing testNeedUpgradeCore()
cache result of checkUpgrade() in self::$needUpgrade
reduce calls of \OCP\Util::needUpgrade()
where \OCP\Util::needUpgrade() is called we can call as well
self::checkUpgrade and use the cached result
In line 877 the call way unnecessary anyway because of the first part of
the if statement
move caching to \OCP\Util::needUpgrade
renaming variable
fixing testNeedUpgradeCore()
fix typo in variable name
deleting tabs
Diffstat (limited to 'tests/phpunit.xml.dist')
0 files changed, 0 insertions, 0 deletions