mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
MINOR Changed MSSQLDatabase::now() block comment to be more useful
This commit is contained in:
parent
de7068d591
commit
7d67d25402
@ -1025,11 +1025,9 @@ class MSSQLDatabase extends SS_Database {
|
||||
}
|
||||
|
||||
/**
|
||||
* Because NOW() doesn't always work...
|
||||
* MSSQL, I'm looking at you
|
||||
*
|
||||
* SQL Server uses CURRENT_TIMESTAMP for the current date/time.
|
||||
*/
|
||||
function now(){
|
||||
function now() {
|
||||
return 'CURRENT_TIMESTAMP';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user