projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c749ad
)
DataObjects/Projects.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 05:05:12 +0000
(13:05 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 05:05:12 +0000
(13:05 +0800)
DataObjects/Projects.php
patch
|
blob
|
history
diff --git
a/DataObjects/Projects.php
b/DataObjects/Projects.php
index
9514b9f
..
359557e
100644
(file)
--- a/
DataObjects/Projects.php
+++ b/
DataObjects/Projects.php
@@
-312,23
+312,7
@@
class Pman_Core_DataObjects_Projects extends DB_DataObject
));
}
return true;
- }
-
- function fetchAll($k= false) {
- if ($k !== false) {
- $this->selectAdd();
- $this->selectAdd($k);
- }
-
- $this->find();
- $ret = array();
- while ($this->fetch()) {
- $ret[] = $k === false ? clone($this) : $this->$k;
- }
- return $ret;
-
- }
-
+ }
/**
* fetch a list of user projects.
* if you need to filter open/closed.. then add whereAdds before calling