projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
165cf3f
)
Merge from FW_3, fix warnings.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 25 Jul 2009 16:27:16 +0000
(12:27 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sat, 25 Jul 2009 16:27:51 +0000
(12:27 -0400)
turba/lib/api.php
patch
|
blob
|
history
diff --git
a/turba/lib/api.php
b/turba/lib/api.php
index
bcec2d6
..
36d3fca
100644
(file)
--- a/
turba/lib/api.php
+++ b/
turba/lib/api.php
@@
-232,7
+232,7
@@
function _turba_removeUserData($user)
}
/* Only attempt share removal if we have shares configured */
- if (
$_SESSION['turba']['has_share']
) {
+ if (
!empty($_SESSION['turba']['has_share'])
) {
$shares = &$GLOBALS['turba_shares']->listShares(
$user, PERMS_EDIT, $user);