Commit bb537832a580bfa4948a2d2fd12bde508ed4ffca
1 parent
b6457aa7
Add bumpMetadataVersion()
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5253 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
4 additions
and
0 deletions
lib/documentmanagement/documentmetadataversion.inc.php
| @@ -132,6 +132,10 @@ class KTDocumentMetadataVersion extends KTEntity { | @@ -132,6 +132,10 @@ class KTDocumentMetadataVersion extends KTEntity { | ||
| 132 | 'orderby' => 'version_created DESC', | 132 | 'orderby' => 'version_created DESC', |
| 133 | )); | 133 | )); |
| 134 | } | 134 | } |
| 135 | + | ||
| 136 | + function bumpMetadataVersion() { | ||
| 137 | + $this->iMetadataVersion++; | ||
| 138 | + } | ||
| 135 | } | 139 | } |
| 136 | 140 | ||
| 137 | ?> | 141 | ?> |