$user = is_null( $user ) ? $wgUser : $user;
if ( !Hooks::run( 'ArticleDelete',
- array( &$this, &$user, &$reason, &$error, &$status )
+ array( &$this, &$user, &$reason, &$error, &$status, $suppress )
) ) {
if ( $status->isOK() ) {
// Hook aborted but didn't set a fatal status
*
* @param Content|null $content Optional Content object for determining the
* necessary updates.
- * @return array An array of DataUpdates objects
+ * @return DataUpdate[]
*/
public function getDeletionUpdates( Content $content = null ) {
if ( !$content ) {