public deleteAllRevisionsByAssocId ( $assocType, $assocId, $fileStage = null ) : integer | ||
$assocType | int ASSOC_TYPE_... | |
$assocId | int ID corresponding to specified assocType. | |
$fileStage | int (optional) further restricts the selection to a given file stage. | |
return | integer | the number of deleted file revisions. |