cleanup_script.smarty 1016 Bytes
{i18n}Warning: Database is inconsistent with the contents of the repository.{/i18n}


{i18n}All paths are relative to your Documents directory.{/i18n}


{if $aRepoDocumentProblems}



{i18n}These documents have versions that are not present on the filesystem.  Consider restoring them from backups.{/i18n}


{foreach from=$aRepoDocumentProblems item=aInfo}
{assign var=oDocument value=$aInfo.document}
{assign var=oContent value=$aInfo.content}
{assign var=docname value=$oDocument->getName()}
{assign var=docid value=$oDocument->getId()}
     {i18n arg_filepath="`$aInfo.path`" arg_docname="$docname" arg_docid="$docid" arg_doclink="`$aInfo.doclink`"}#docname# (ID: #docid#, version {$oContent->getMajorVersionNumber()}.{$oContent->getMinorVersionNumber()}) - Cannot find file:  #filepath#{/i18n}

{/foreach}

{/if}

{if $aFilesToRemove}



{i18n}The following files are present in the repository, but do not exist in the database.{/i18n}:

{foreach from=$aFilesToRemove item=sFile}
     {$sFile}
{/foreach}

{/if}