2
0
forked from Wavyzz/dolibarr

change visibility

This commit is contained in:
Frédéric FRANCE
2019-03-04 19:57:46 +01:00
parent d5c809c1ed
commit f283782445
29 changed files with 93 additions and 59 deletions

View File

@@ -273,14 +273,16 @@ class Setup extends DolibarrApi
return $list;
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore
/**
* Clean sensible object datas
*
* @param object $object Object to clean
* @return array Array of cleaned object properties
*/
private function _cleanObjectDatas($object)
protected function _cleanObjectDatas($object)
{
// phpcs:enable
$object = parent::_cleanObjectDatas($object);
unset($object->error);