<?php
/**
- * action=unprotect handler
- *
- * Copyright © 2012 Timo Tijhof
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
*
* @file
* @ingroup Actions
- * @author Timo Tijhof
*/
/**
- * Handle page unprotection
+ * Handle page unprotection (action=unprotect)
*
* This is a wrapper that will call Article::unprotect().
*
}
public function show() {
-
$this->page->unprotect();
}
+
+ public function doesWrites() {
+ return true;
+ }
}