Skip to content

Commit 344fd5e

Browse files
committed
Update RevisionBehavior.php
1 parent 66e6332 commit 344fd5e

File tree

1 file changed

+2
-22
lines changed

1 file changed

+2
-22
lines changed

Model/Behavior/RevisionBehavior.php

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -82,31 +82,11 @@
8282
* NB! In version 1.2 and up to current, Using HABTM revision requires that both models uses this
8383
* behavior (even if secondary model does not have a shadow table).
8484
*
85-
* 1.1.1 => 1.1.2 changelog
86-
* - revisions() got new paramter: $includeCurrent
87-
* This now defaults to false, resulting in a change from 1.1.1. See tests
88-
*
89-
* 1.1.6 => 1.2
90-
* - includes HABTM revision control (one way)
91-
*
92-
* 1.2 => 1.2.1
93-
* - api change in revertToDate, added paramter for force delete if reverting to before earliest
94-
*
95-
* 1.2.6 => 1.2.7
96-
* - api change: removed shadow(), changed revertToDate() to only recurse into related models that
97-
* are dependent when cascade is true
98-
*
99-
* 2.0.5 => CakePHP 2.x
100-
*
101-
* 2.0.6 => use alias to map shadow tables to a different alias as each alias is only allowed once
102-
* per ClassRegistry.
103-
*
85+
* @deprecated Will be removed soon. Please move yourself to a new location/plugin
86+
*
10487
* @author Ronny Vindenes
10588
* @author Alexander 'alkemann' Morland
10689
* @license http://opensource.org/licenses/mit-license.php MIT
107-
* @modifed 27. march 2009
108-
* @version 2.0.6
109-
* @modified 2012-07-28 Mark Scherer (2.x ready)
11090
*/
11191
class RevisionBehavior extends ModelBehavior {
11292

0 commit comments

Comments
 (0)