CRON call ends in null exception


[error] 4461#0: *186285 FastCGI sent in stderr: "PHP message
: PHP Fatal error:  Call to a member function execute() on null in /var/www/ownc
loud/cron.php on line 125" while reading response header from upstream, client:
217.13.183.252, server: cloud.mycloud.com, request: "GET /cron.php HTTP/1.1", upstre
am: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cloud.mycloud.com", referrer: "
https://cloud.mycloud.com/"
Update cron.php
Allow specifying the item source in unshareFromSelf().
Log unsuccessful temp file creation and return false
Only load personal external storages for allowed backends
Remove no longer existing files from the cache when scanning external storage
Remove loadAppScriptFile
Use proper routes for files
Add routing to files_sharing
Add routing to files_encryption
Add routing to files_trashbin
Add routing to files_versions
Add routing to user_ldap
Remove loadAppScriptFile from the default routes
Add update route to core
Comment out mount_file config option

Prevents sample config issues with external storages. Fixes #9734
Added repair step for legacy storages
Fix unit test messing up the transaction on Oracle

Since the unit test is skipped anyway for Oracle, the dropTable() call
should be skipped as well to avoid having a leftover transaction and
cause further transactions to be nested and break the next test suites
requiring transactions.
Explicily close the statement cursors

Fixes the issue that makes SQLite freeze on later tests.
Merge pull request #10522 from owncloud/removeLoadAppScript

Remove loadAppScriptFile