Added scope check
This commit is contained in:
@@ -35,7 +35,7 @@ class Announcements extends BaseApi
|
||||
*/
|
||||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
self::login();
|
||||
self::login(self::SCOPE_READ);
|
||||
|
||||
// @todo Possibly use the message from the pageheader addon for this
|
||||
System::jsonExit([]);
|
||||
|
||||
Reference in New Issue
Block a user