added type ints for other plugins
This commit is contained in:
parent
e1fee95368
commit
a1de3dc148
3 changed files with 4 additions and 2 deletions
|
@ -3,9 +3,9 @@
|
|||
?>
|
||||
|
||||
<?php
|
||||
/** @var \helper_plugin_qc $qc */
|
||||
/** @var \helper_plugin_do $doPlugin */
|
||||
$doPlugin = plugin_load('helper','do');
|
||||
|
||||
|
||||
/** @var \helper_plugin_qc $qc */
|
||||
$qc = plugin_load('helper','qc');
|
||||
if ($doPlugin !== null ||$qc ) {
|
||||
|
|
|
@ -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']));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue