Commit ef6d6cdae487df8e1a147c75d3d8087c39fcdd18
1 parent
1b2dc8fa
Pass the bPathMove variable down to the normalised document entities'
update methods. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4697 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
3 deletions
lib/documentmanagement/Document.inc
| @@ -151,13 +151,13 @@ class Document { | @@ -151,13 +151,13 @@ class Document { | ||
| 151 | 151 | ||
| 152 | // {{{ update | 152 | // {{{ update |
| 153 | function update($bPathMove = false) { | 153 | function update($bPathMove = false) { |
| 154 | - $res = $this->_oDocumentCore->update(); | 154 | + $res = $this->_oDocumentCore->update($bPathMove); |
| 155 | if (PEAR::isError($res)) { var_dump($res); return $res; } | 155 | if (PEAR::isError($res)) { var_dump($res); return $res; } |
| 156 | 156 | ||
| 157 | - $res = $this->_oDocumentContentVersion->update(); | 157 | + $res = $this->_oDocumentContentVersion->update($bPathMove); |
| 158 | if (PEAR::isError($res)) { var_dump($res); return $res; } | 158 | if (PEAR::isError($res)) { var_dump($res); return $res; } |
| 159 | 159 | ||
| 160 | - $res = $this->_oDocumentMetadataVersion->update(); | 160 | + $res = $this->_oDocumentMetadataVersion->update($bPathMove); |
| 161 | if (PEAR::isError($res)) { var_dump($res); return $res; } | 161 | if (PEAR::isError($res)) { var_dump($res); return $res; } |
| 162 | 162 | ||
| 163 | return $res; | 163 | return $res; |