fix travis
This commit is contained in:
parent
4fd24f6d8c
commit
3cae54c296
@ -18,7 +18,8 @@
|
|||||||
/**
|
/**
|
||||||
* Class to manage certif authority
|
* Class to manage certif authority
|
||||||
*/
|
*/
|
||||||
class BlockedLogAuthority {
|
class BlockedLogAuthority
|
||||||
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Id of the log
|
* Id of the log
|
||||||
@ -113,7 +114,8 @@ class BlockedLogAuthority {
|
|||||||
/**
|
/**
|
||||||
* Get object from database
|
* Get object from database
|
||||||
*
|
*
|
||||||
* @param int $rowid Id of object to load
|
* @param int $id Id of object to load
|
||||||
|
* @param string $signature Signature of object to load
|
||||||
* @return int >0 if OK, <0 if KO, 0 if not found
|
* @return int >0 if OK, <0 if KO, 0 if not found
|
||||||
*/
|
*/
|
||||||
public function fetch($id, $signature='') {
|
public function fetch($id, $signature='') {
|
||||||
|
|||||||
@ -19,7 +19,8 @@
|
|||||||
* Class to manage Blocked Log
|
* Class to manage Blocked Log
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class BlockedLog {
|
class BlockedLog
|
||||||
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Id of the log
|
* Id of the log
|
||||||
@ -41,14 +42,34 @@ class BlockedLog {
|
|||||||
|
|
||||||
public $amounts = null;
|
public $amounts = null;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* trigger action
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
public $action = '';
|
public $action = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Object element
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
public $element = '';
|
public $element = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Object id
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
public $fk_object = 0;
|
public $fk_object = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Log certified by remote authority or not
|
||||||
|
* @var boolean
|
||||||
|
*/
|
||||||
public $certified = false;
|
public $certified = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Author
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
public $fk_user = 0;
|
public $fk_user = 0;
|
||||||
|
|
||||||
public $date_object = 0;
|
public $date_object = 0;
|
||||||
@ -71,8 +92,6 @@ class BlockedLog {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* try to retrieve logged object
|
* try to retrieve logged object
|
||||||
*
|
|
||||||
* @param object|string $object object logged
|
|
||||||
*/
|
*/
|
||||||
public function getObject() {
|
public function getObject() {
|
||||||
global $langs;
|
global $langs;
|
||||||
@ -100,8 +119,6 @@ class BlockedLog {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* try to retrieve user author
|
* try to retrieve user author
|
||||||
*
|
|
||||||
* @param object|string $object object logged
|
|
||||||
*/
|
*/
|
||||||
public function getUser() {
|
public function getUser() {
|
||||||
global $langs, $cachedUser;
|
global $langs, $cachedUser;
|
||||||
@ -171,7 +188,7 @@ class BlockedLog {
|
|||||||
/**
|
/**
|
||||||
* Get object from database
|
* Get object from database
|
||||||
*
|
*
|
||||||
* @param int $rowid Id of object to load
|
* @param int $id Id of object to load
|
||||||
* @return int >0 if OK, <0 if KO, 0 if not found
|
* @return int >0 if OK, <0 if KO, 0 if not found
|
||||||
*/
|
*/
|
||||||
public function fetch($id) {
|
public function fetch($id) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user