Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed Sep 22, 2024
1 parent dedecc4 commit be177e6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions classes/ai/ai.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* AI class
*
Expand Down
1 change: 1 addition & 0 deletions classes/privacy/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

/**
* Privacy provider class
*
Expand Down
2 changes: 0 additions & 2 deletions lang/en/tool_aiconnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
$string['presence_penalty_desc'] = 'Similar to frequency penalty, it reduces probability of using a word that was already used.
The difference is that is does not matter how many times the word was used - just if it was or not.';

// Privacy API.

$string['privacy:metadata:tool_aiconnect'] = 'In order to generate text or image, user needs to pass prompt text and/or image.';
$string['privacy:metadata:tool_aiconnect:image'] = 'Image is an optional argument you can pass to make a base for generated image.';
$string['privacy:metadata:tool_aiconnect:prompttext'] = 'User\'s prompt text is being sent to API services to generate response.';
Expand Down
2 changes: 1 addition & 1 deletion test.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

require_once(__DIR__ . '/../../../config.php');

use \context_system;
use context_system;

require_login();
if (!is_siteadmin($USER)) {
Expand Down

0 comments on commit be177e6

Please sign in to comment.