ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Max number of revisions?

March 03, 2008 12:09pm

Subscribe [1]
  • #1 / Mar 03, 2008 12:09pm

    Brian M.

    529 posts

    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

    Robin Sowell

    13255 posts

    This for template revisions or entry revisions or both?

  • #3 / Mar 03, 2008 1:01pm

    Brian M.

    529 posts

    This for template revisions or entry revisions or both?

    Entry revisions.

  • #4 / Mar 03, 2008 1:12pm

    Robin Sowell

    13255 posts

    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

    Brian M.

    529 posts

    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.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases