projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ed144
)
Fix $opts argument to IMP_Folder::create()
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 28 Jan 2011 06:44:29 +0000
(23:44 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 28 Jan 2011 17:05:53 +0000
(10:05 -0700)
imp/lib/Folder.php
patch
|
blob
|
history
diff --git
a/imp/lib/Folder.php
b/imp/lib/Folder.php
index
1b89b74
..
b042a6a
100644
(file)
--- a/
imp/lib/Folder.php
+++ b/
imp/lib/Folder.php
@@
-105,7
+105,7
@@
class IMP_Folder
* @return boolean Whether or not the folder was successfully created.
* @throws Horde_Exception
*/
- public function create($folder, $subscribe)
+ public function create($folder, $subscribe
, array $opts = array()
)
{
global $conf, $injector, $notification;
@@
-136,7
+136,7
@@
class IMP_Folder
/* Special use flags. */
$special_use = array();
foreach (self::$specialUse as $key => $val) {
- if (!empty($
this->_
opts[$key])) {
+ if (!empty($opts[$key])) {
$special_use[] = $val;
}
}