[commits] [Wiki] changed: RemoveUserData
Wiki Guest
wikiguest at horde.org
Thu Oct 24 09:03:49 UTC 2013
guest [194.95.66.21] Thu, 24 Oct 2013 09:03:49 +0000
Modified page: http://wiki.horde.org/RemoveUserData
New Revision: 16
Change log: Fix typo
@@ -20,23 +20,19 @@
require_once $baseDir . '/lib/Application.php';
Horde_Registry::appInit('horde', array('cli' => true, 'user_admin' => true));
-// remove single user
+/* remove single user
$value = '<user>';
$cli->writeln('Remove user data of ' . $value);
-$registry->removeUserData($value);
+$registry->removeUserData($value);*/
-/* remove users on command line
+// remove users on command line
for($i = 1; $i < $argc; ++$i) {
$value = $argv[$i];
- print $i. ' '. $value. "\n";
$cli->writeln('Remove user data of ' . $value);
$registry->removeUserData($value);
}
-*/
-
-
</code>
++ Using the removeUserData APIs
More information about the commits
mailing list