Skip to content

Commit

Permalink
tweak(Setup) make getExistingForeignKeys deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmhh committed Feb 5, 2025
1 parent c962732 commit 7bbf5b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tine20/Setup/Backend/Interface.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ public function applicationVersionQuery($_application);
*
* @param string $tableName
* @return array list of foreignkey names
*
* @deprecated use getOwnForeignKeys this function should be called getForeignKeys referring to this table
*/
public function getExistingForeignKeys($tableName);

Expand Down
2 changes: 2 additions & 0 deletions tine20/Setup/Backend/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ public function getCreateStatement(Setup_Backend_Schema_Table_Abstract $_table)
*
* @param string $tableName
* @return array list of foreignkey names
*
* @deprecated use getOwnForeignKeys this function should be called getForeignKeys referring to this table
*/
public function getExistingForeignKeys($tableName)
{
Expand Down

0 comments on commit 7bbf5b5

Please sign in to comment.