dc-rest/inc/class.rest.query.get.blogs.php
2017-05-01 22:05:03 +02:00

18 lines
360 B
PHP

<?php
class RestQueryGetBlogs extends RestQuery
{
public function __construct($user){
if($user === false){
//need To be authentified
$this->response_code = 403;
$this->response_message = array('code' => 403, 'error' => 'get Blogs methods requires to be authentified');
return;
}
//error_log(json_encode($user->findUserBlog()));
}
}