forked from GNUsocial/gnu-social
Took out some unnecessary intializations
This commit is contained in:
parent
e071a8cbff
commit
7fcaffdf86
@ -46,7 +46,6 @@ require_once INSTALLDIR.'/lib/apiauth.php';
|
||||
|
||||
class ApiFavoriteCreateAction extends ApiAuthAction
|
||||
{
|
||||
var $user = null;
|
||||
var $notice = null;
|
||||
|
||||
/**
|
||||
@ -141,7 +140,6 @@ class ApiFavoriteCreateAction extends ApiAuthAction
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Notify the author of the favorite that the user likes their notice
|
||||
*
|
||||
|
@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/apiauth.php';
|
||||
class ApiFavoriteDestroyAction extends ApiAuthAction
|
||||
{
|
||||
|
||||
var $user = null;
|
||||
var $notice = null;
|
||||
|
||||
/**
|
||||
|
@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/apiauth.php';
|
||||
|
||||
class ApiFriendshipsCreateAction extends ApiAuthAction
|
||||
{
|
||||
var $user = null;
|
||||
var $other = null;
|
||||
|
||||
/**
|
||||
|
@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/apiauth.php';
|
||||
|
||||
class ApiFriendshipsDestroyAction extends ApiAuthAction
|
||||
{
|
||||
var $user = null;
|
||||
var $other = null;
|
||||
|
||||
/**
|
||||
|
@ -45,7 +45,6 @@ require_once INSTALLDIR.'/lib/apibareauth.php';
|
||||
|
||||
class ApiFriendshipsShowAction extends ApiBareAuthAction
|
||||
{
|
||||
var $user = null;
|
||||
var $source = null;
|
||||
var $target = null;
|
||||
|
||||
|
@ -46,8 +46,6 @@ require_once INSTALLDIR.'/lib/api.php';
|
||||
|
||||
class ApiUserShowAction extends ApiAction
|
||||
{
|
||||
var $user = null;
|
||||
|
||||
/**
|
||||
* Take arguments for running
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user