projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2b537
)
Fix removeUserData in kronolith
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 12 Jan 2011 21:22:08 +0000
(16:22 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 13 Jan 2011 01:43:01 +0000
(20:43 -0500)
Kronolith::listEventIds() no longer exists.
kronolith/lib/Driver/Sql.php
patch
|
blob
|
history
diff --git
a/kronolith/lib/Driver/Sql.php
b/kronolith/lib/Driver/Sql.php
index
23588fe
..
4a54b38
100644
(file)
--- a/
kronolith/lib/Driver/Sql.php
+++ b/
kronolith/lib/Driver/Sql.php
@@
-973,11
+973,13
@@
class Kronolith_Driver_Sql extends Kronolith_Driver
}
foreach (array_keys($shares) as $calendar) {
- $
ids = Kronolith::listEventIds(null,
null, $calendar);
- $
this->handleError($ids
);
+ $
driver = Kronolith::getDriver(
null, $calendar);
+ $
events = $driver->listEvents(null, null, false, false, false
);
$uids = array();
- foreach ($ids as $cal) {
- $uids = array_merge($uids, array_keys($cal));
+ foreach ($events as $dayevents) {
+ foreach ($dayevents as $event) {
+ $uids[] = $event->uid;
+ }
}
foreach ($uids as $uid) {