Is there a hard-coded maximum number of revisions the system will keep? Or if you turn on revisions but leave that field blank, will it allow unlimited revisions saved to the system?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
March 03, 2008 12:09pm
Subscribe [1]#1 / Mar 03, 2008 12:09pm
Is there a hard-coded maximum number of revisions the system will keep? Or if you turn on revisions but leave that field blank, will it allow unlimited revisions saved to the system?
#2 / Mar 03, 2008 12:56pm
This for template revisions or entry revisions or both?
#3 / Mar 03, 2008 1:01pm
This for template revisions or entry revisions or both?
Entry revisions.
#4 / Mar 03, 2008 1:12pm
Doesn’t look like it- defaults to 10, best case scenario:
$max = (is_numeric($max_revisions) AND $max_revisions > 0) ? $max_revisions : 10;#5 / Mar 03, 2008 1:15pm
Hmm thanks Robin. It will accept 9999 in the pref field it seems. I guess that’s pretty close to unlimited for most types of entries.