Created friends class

This commit is contained in:
Pierre
2017-05-28 14:09:20 +02:00
parent d0eec49c4b
commit 3ad05483f5
4 changed files with 68 additions and 38 deletions

View File

@ -0,0 +1,20 @@
<?php
/**
* Friends component
*
* @author Pierre HUBERT
*/
class friends {
/**
* Public construcor
*/
public function __construct(){
//Nothing now
}
}
//Register component
Components::register("friends", new friends());

View File

@ -141,7 +141,7 @@ class User{
/**
* Get User Infos
* Get Single User Infos
*
* @param Integer $userID The user ID
* @return Array The result of the function (user informations) (empty one if it fails)