tiki-batch_todo.php 535 Bytes
Newer Older
1
<?php
changi67's avatar
changi67 committed
2 3 4
/**
 * @package tikiwiki
 */
5
// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
rjsmelo's avatar
rjsmelo committed
6
//
7 8 9 10
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$

11
include('tiki-setup.php');
lphuberdeau's avatar
lphuberdeau committed
12
$todolib = TikiLib::lib('todo');
13

14
$access->check_feature('feature_trackers');	// TODO add more features as the lib does more
15

16 17 18 19
$todos = $todolib->listTodoObject();
foreach ($todos as $todo) {
	$todolib->applyTodo($todo);
}