Skip to content

Commit e8ea838

Browse files
committed
Store_SQL: Fix support for custom table prefix.
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2674 44740490-163a-0410-bde0-09ae8108e29a
1 parent 691e141 commit e8ea838

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/SimpleSAML/Store/SQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function setTableVersion($name, $version) {
133133
assert('is_string($name)');
134134
assert('is_int($version)');
135135

136-
$this->insertOrUpdate('simpleSAMLphp_tableVersion', array('_name'),
136+
$this->insertOrUpdate($this->prefix . '_tableVersion', array('_name'),
137137
array('_name' => $name, '_version' => $version));
138138
$this->tableVersions[$name] = $version;
139139
}

0 commit comments

Comments
 (0)