[Groonga-commit] groonga/gcs [master] Fix mismatched variable name

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 16 19:01:33 JST 2012


YUKI Hiroshi	2012-11-16 19:01:33 +0900 (Fri, 16 Nov 2012)

  New Revision: b06a62dc94cbd976bbf4d35f4f397a8bc6991192
  https://github.com/groonga/gcs/commit/b06a62dc94cbd976bbf4d35f4f397a8bc6991192

  Log:
    Fix mismatched variable name

  Modified files:
    lib/database/domain.js

  Modified: lib/database/domain.js (+2 -2)
===================================================================
--- lib/database/domain.js    2012-11-16 19:00:23 +0900 (aeba4ea)
+++ lib/database/domain.js    2012-11-16 19:01:33 +0900 (d6b4253)
@@ -286,7 +286,7 @@ Domain.prototype = {
   setOptionCreationDate: function(name, date) {
     if (this.exists())
       this.setConfiguration(this.getOptionCreationDateKey(name), date.getTime())
-    return value;
+    return date;
   },
   getOptionCreationDateKey: function(option) {
     return 'option_' + option + '_created_at';
@@ -300,7 +300,7 @@ Domain.prototype = {
   setOptionUpdateDate: function(name, date) {
     if (this.exists())
       this.setConfiguration(this.getOptionUpdateDateKey(name), date.getTime())
-    return value;
+    return date;
   },
   getOptionUpdateDateKey: function(option) {
     return 'option_' + option + '_updated_at';
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index