Rev 830 | Rev 1130 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 830 | Rev 1050 | ||
---|---|---|---|
Line 15... | Line 15... | ||
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16 | * See the License for the specific language governing permissions and |
16 | * See the License for the specific language governing permissions and |
17 | * limitations under the License. |
17 | * limitations under the License. |
18 | */ |
18 | */ |
19 | 19 | ||
- | 20 | use ViaThinkSoft\OIDplus\OIDplusDatabaseConnection; |
|
- | 21 | ||
20 | /** |
22 | /** |
21 | * This function will be called by OIDplusDatabaseConnection.class.php at method afterConnect(). |
23 | * This function will be called by OIDplusDatabaseConnection.class.php at method afterConnect(). |
22 | * @param OIDplusDatabaseConnection $db is the OIDplusDatabaseConnection class |
24 | * @param OIDplusDatabaseConnection $db is the OIDplusDatabaseConnection class |
23 | * @return int new version set |
25 | * @return int new version set |
24 | * @throws OIDplusException |
26 | * @throws \ViaThinkSoft\OIDplus\OIDplusException |
25 | */ |
27 | */ |
26 | function oidplus_dbupdate_205(OIDplusDatabaseConnection $db) { |
28 | function oidplus_dbupdate_205(OIDplusDatabaseConnection $db) { |
27 | // Note: We update to version 1000, because we want to intentionally break older versions of OIDplus |
29 | // Note: We update to version 1000, because we want to intentionally break older versions of OIDplus |
28 | // if they try to connect to a database that is newer than their own program files. Older versions |
30 | // if they try to connect to a database that is newer than their own program files. Older versions |
29 | // of OIDplus checked for DB version 200..999 and failed if the version is outside this range. |
31 | // of OIDplus checked for DB version 200..999 and failed if the version is outside this range. |