added type ints for other plugins

This commit is contained in:
Andreas Gohr 2017-02-14 10:20:47 +01:00
commit a1de3dc148
3 changed files with 4 additions and 2 deletions

View file

@ -13,6 +13,7 @@
}?>
<?php /* tasks do Plug-In */
/** @var \helper_plugin_do $doplugin */
$doplugin = plugin_load('helper','do');
if ($doplugin !== null && isset($_SERVER['REMOTE_USER'])) {
$tasks = $doplugin->loadTasks(array('status' => array('undone'),'user' => $_SERVER['REMOTE_USER']));