Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions vendor/srag/dic/src/Database/DatabaseDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ class DatabaseDetector extends AbstractILIASDatabaseDetector
*/
protected static $instance = null;

/**
* Implements the primaryExistsByFields method from ilDBInterface.
*
* This method was added to address compatibility issues with newer versions
* of ILIAS, specifically ILIAS8 and ILIAS7
* @see https://github.com/ILIAS-eLearning/ILIAS/commit/3d4ccc6a24d5d3e487d9e303a41a7bb12262eb48
*
* @param string $table_name The name of the table.
* @param array $fields An array of fields.
* @return bool A stub return. This should be adjusted based on the actual implementation.
*/
public function primaryExistsByFields(string $table_name, array $fields): bool
{
// TODO: Implement the actual logic for this method.
return false;
}

/**
* @param ilDBInterface $db
Expand Down