projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c09b5
)
Allow share owners to be empty, in preparation for system shares (Request #2059).
author
Jan Schneider
<jan@horde.org>
Thu, 3 Dec 2009 00:29:46 +0000
(
01:29
+0100)
committer
Jan Schneider
<jan@horde.org>
Thu, 3 Dec 2009 00:29:46 +0000
(
01:29
+0100)
turba/lib/Api.php
patch
|
blob
|
history
diff --git
a/turba/lib/Api.php
b/turba/lib/Api.php
index
70f0a07
..
6016dca
100644
(file)
--- a/
turba/lib/Api.php
+++ b/
turba/lib/Api.php
@@
-195,7
+195,7
@@
class Turba_Api extends Horde_Registry_Api
$shares = Turba::listShares();
$owners = array('global' => true);
foreach ($shares as $share) {
- $owners[$share->get('owner')] = true;
+ $owners[$share->get('owner')
? $share->get('owner') : '-system-'
] = true;
}
foreach (array_keys($owners) as $owner) {