Merge pull request #3076 from Hypolite/issue/#3039-boot-doc-include

Normalize App parameter declaration (doc-include folders, boot)
This commit is contained in:
Michael Vogel 2017-01-11 09:01:48 +01:00 committed by GitHub
commit 3c51820515
20 changed files with 144 additions and 144 deletions

View file

@ -343,7 +343,7 @@ function cron_poll_contacts($argc, $argv) {
*
* @param App $a
*/
function cron_clear_cache(App &$a) {
function cron_clear_cache(App $a) {
$last = get_config('system','cache_last_cleared');
@ -430,7 +430,7 @@ function cron_clear_cache(App &$a) {
*
* @param App $a
*/
function cron_repair_diaspora(App &$a) {
function cron_repair_diaspora(App $a) {
$r = q("SELECT `id`, `url` FROM `contact`
WHERE `network` = '%s' AND (`batch` = '' OR `notify` = '' OR `poll` = '' OR pubkey = '')
ORDER BY RAND() LIMIT 50", dbesc(NETWORK_DIASPORA));