Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fluxapps/UserDefaults
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: Minervis-GmbH/UserDefaults
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 4, 2022

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    a4115ac View commit details
  2. Copy the full SHA
    9a05b81 View commit details
Showing with 11 additions and 1 deletion.
  1. +10 −0 src/Config/UserDefaultsConfig.php
  2. +1 −1 vendor/srag/activerecordconfig/src/Config/Config.php
10 changes: 10 additions & 0 deletions src/Config/UserDefaultsConfig.php
Original file line number Diff line number Diff line change
@@ -31,4 +31,14 @@ public static function getField(string $field): int {

throw new \ilException("UserDefaults configuration field '$field' not found");
}
/**
* @inheritDoc
*
* @return string
*/
public static function getTableName() : string
{
self::$table_name = self::TABLE_NAME;
return self::TABLE_NAME;
}
}
2 changes: 1 addition & 1 deletion vendor/srag/activerecordconfig/src/Config/Config.php
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ class Config extends ActiveRecord
/**
* @var string
*/
protected static $table_name;
protected static $table_name = "usr_def_config";
/**
* @var string
*