mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
moving response classes over to OCP
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
|
||||
namespace OC\AppFramework\Controller;
|
||||
|
||||
use OC\AppFramework\Http\TemplateResponse;
|
||||
use OC\AppFramework\Http\Request;
|
||||
use OC\AppFramework\Core\API;
|
||||
use OCP\AppFramework\Http\TemplateResponse;
|
||||
|
||||
|
||||
/**
|
||||
@@ -133,7 +133,7 @@ abstract class Controller {
|
||||
* @param string $renderAs user renders a full page, blank only your template
|
||||
* admin an entry in the admin settings
|
||||
* @param array $headers set additional headers in name/value pairs
|
||||
* @return \OC\AppFramework\Http\TemplateResponse containing the page
|
||||
* @return \OCP\AppFramework\Http\TemplateResponse containing the page
|
||||
*/
|
||||
public function render($templateName, array $params=array(),
|
||||
$renderAs='user', array $headers=array()){
|
||||
|
||||
Reference in New Issue
Block a user