From 7fcaffdf86755a444ad9c24046161cb8a428c613 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Mon, 12 Oct 2009 14:07:00 -0700 Subject: [PATCH] Took out some unnecessary intializations --- actions/apifavoritecreate.php | 2 -- actions/apifavoritedestroy.php | 1 - actions/apifriendshipscreate.php | 1 - actions/apifriendshipsdestroy.php | 1 - actions/apifriendshipsshow.php | 1 - actions/apiusershow.php | 2 -- 6 files changed, 8 deletions(-) diff --git a/actions/apifavoritecreate.php b/actions/apifavoritecreate.php index 1b05eb95c9..2a185f6073 100644 --- a/actions/apifavoritecreate.php +++ b/actions/apifavoritecreate.php @@ -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 * diff --git a/actions/apifavoritedestroy.php b/actions/apifavoritedestroy.php index aac866d7e9..f954a50760 100644 --- a/actions/apifavoritedestroy.php +++ b/actions/apifavoritedestroy.php @@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/apiauth.php'; class ApiFavoriteDestroyAction extends ApiAuthAction { - var $user = null; var $notice = null; /** diff --git a/actions/apifriendshipscreate.php b/actions/apifriendshipscreate.php index 6c44d79610..fe4e9e9a2b 100644 --- a/actions/apifriendshipscreate.php +++ b/actions/apifriendshipscreate.php @@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/apiauth.php'; class ApiFriendshipsCreateAction extends ApiAuthAction { - var $user = null; var $other = null; /** diff --git a/actions/apifriendshipsdestroy.php b/actions/apifriendshipsdestroy.php index a15f202aa8..f0f6c062b5 100644 --- a/actions/apifriendshipsdestroy.php +++ b/actions/apifriendshipsdestroy.php @@ -47,7 +47,6 @@ require_once INSTALLDIR.'/lib/apiauth.php'; class ApiFriendshipsDestroyAction extends ApiAuthAction { - var $user = null; var $other = null; /** diff --git a/actions/apifriendshipsshow.php b/actions/apifriendshipsshow.php index 8850496c79..c5aed238f4 100644 --- a/actions/apifriendshipsshow.php +++ b/actions/apifriendshipsshow.php @@ -45,7 +45,6 @@ require_once INSTALLDIR.'/lib/apibareauth.php'; class ApiFriendshipsShowAction extends ApiBareAuthAction { - var $user = null; var $source = null; var $target = null; diff --git a/actions/apiusershow.php b/actions/apiusershow.php index d07040a43d..db942d1a58 100644 --- a/actions/apiusershow.php +++ b/actions/apiusershow.php @@ -46,8 +46,6 @@ require_once INSTALLDIR.'/lib/api.php'; class ApiUserShowAction extends ApiAction { - var $user = null; - /** * Take arguments for running * -- 2.39.5