Method |
Description |
|
checkEntityReferences ( $entityName, $entityId, $parentId ) : boolean |
Returns true if there is no reference constraint violation for given entity. |
|
checkReferencesForRevertedCommit ( Commit $revertedCommit ) |
|
|
clearOrphanedPosts ( ) |
Deletes orphaned files older than 1 minute (due to postponed commits, that has not been used) |
|
entityExists ( $referencedEntityName, $referencedEntityId, $maybeParentId ) : boolean |
For standard entities just checks the storage. |
|
existsSomeEntityWithReferenceTo ( $entityName, $entityId ) : boolean |
Returns true if there is any entity with reference to the passed one. |
|
getAffectedPosts ( $modifiedFiles ) |
|
|
getAllVpIdsFromModifiedFiles ( $modifiedFiles ) |
|
|
revert ( $commits, $method ) |
|
|
revertOneCommit ( $commitHash ) |
|
|
revertToCommit ( $commitHash ) |
|
|
updateChangeDateForPosts ( $vpIds ) |
|
|