From a32bfda03da10971c4286b333f3d2db4a56a704e Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sun, 29 Dec 2019 01:23:44 +0200 Subject: [PATCH] Updated docs --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index bdba8fa..5477dc7 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,6 @@ $audit = new Audit($adapter); A simple example for logging a user action in the audit DB. ```php -log($userId, $event, $resource, $userAgent, $ip, $location, $data); Fetch all logs by given user ID ```php -audit->getLogsByUser( 'userId' // User unique ID ); // Returns an array of all logs for specific user @@ -84,8 +80,6 @@ $logs = $this->audit->getLogsByUser( Fetch all logs by given user ID and a specific action name ```php -audit->getLogsByUserAndActions( 'userId', // User unique ID ['update', 'delete'] // List of selected action to fetch