src/libraries/adapters/DatabaseMySql.php
/** Prepare activity to store in the database
   */
Prepare activity to store in the database
Prepare activity to store in the database
private function prepareActivity($params)
  {
    if(isset($params['data']))
      $params['data'] = json_encode($params['data']);
    return $params;
  }
private function prepareActivity ( $ params ) { if ( isset ( $ params [ 'data' ] ) ) $ params [ 'data' ] = json_encode ( $ params [ 'data' ] ) ; return $ params ; }
Prepare activity to store in the database
Prepare activity to store in the database