* Superfluous whitespace removed.
* i18n review (no changes needed).
This commit is contained in:
parent
04ae500749
commit
04fcfeaf6f
|
@ -46,7 +46,6 @@ if (!defined('STATUSNET')) {
|
||||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||||
* @link http://status.net/
|
* @link http://status.net/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class FollowEveryonePlugin extends Plugin
|
class FollowEveryonePlugin extends Plugin
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -62,7 +61,6 @@ class FollowEveryonePlugin extends Plugin
|
||||||
* @return boolean hook value
|
* @return boolean hook value
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onEndUserRegister(&$newProfile, &$newUser)
|
function onEndUserRegister(&$newProfile, &$newUser)
|
||||||
{
|
{
|
||||||
$otherUser = new User();
|
$otherUser = new User();
|
||||||
|
@ -112,7 +110,6 @@ class FollowEveryonePlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean hook value; true means continue processing, false means stop.
|
* @return boolean hook value; true means continue processing, false means stop.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onCheckSchema()
|
function onCheckSchema()
|
||||||
{
|
{
|
||||||
$schema = Schema::get();
|
$schema = Schema::get();
|
||||||
|
@ -135,7 +132,6 @@ class FollowEveryonePlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean hook value; true means continue processing, false means stop.
|
* @return boolean hook value; true means continue processing, false means stop.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onAutoload($cls)
|
function onAutoload($cls)
|
||||||
{
|
{
|
||||||
$dir = dirname(__FILE__);
|
$dir = dirname(__FILE__);
|
||||||
|
@ -157,7 +153,6 @@ class FollowEveryonePlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean hook value
|
* @return boolean hook value
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onEndProfileFormData($action)
|
function onEndProfileFormData($action)
|
||||||
{
|
{
|
||||||
$user = common_current_user();
|
$user = common_current_user();
|
||||||
|
@ -180,7 +175,6 @@ class FollowEveryonePlugin extends Plugin
|
||||||
*
|
*
|
||||||
* @return boolean hook value
|
* @return boolean hook value
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onEndProfileSaveForm($action)
|
function onEndProfileSaveForm($action)
|
||||||
{
|
{
|
||||||
$user = common_current_user();
|
$user = common_current_user();
|
||||||
|
@ -199,7 +193,6 @@ class FollowEveryonePlugin extends Plugin
|
||||||
* @return boolean hook value
|
* @return boolean hook value
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function onPluginVersion(&$versions)
|
function onPluginVersion(&$versions)
|
||||||
{
|
{
|
||||||
$versions[] = array('name' => 'FollowEveryone',
|
$versions[] = array('name' => 'FollowEveryone',
|
||||||
|
|
|
@ -52,7 +52,6 @@ require_once INSTALLDIR . '/classes/Memcached_DataObject.php';
|
||||||
*
|
*
|
||||||
* @see DB_DataObject
|
* @see DB_DataObject
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class User_followeveryone_prefs extends Memcached_DataObject
|
class User_followeveryone_prefs extends Memcached_DataObject
|
||||||
{
|
{
|
||||||
public $__table = 'user_followeveryone_prefs'; // table name
|
public $__table = 'user_followeveryone_prefs'; // table name
|
||||||
|
@ -68,7 +67,6 @@ class User_followeveryone_prefs extends Memcached_DataObject
|
||||||
* @param mixed $v Value to lookup
|
* @param mixed $v Value to lookup
|
||||||
*
|
*
|
||||||
* @return User_followeveryone_prefs object found, or null for no hits
|
* @return User_followeveryone_prefs object found, or null for no hits
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
function staticGet($k, $v=null)
|
function staticGet($k, $v=null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user