[Groonga-commit] groonga/gcs [master] Fix missing variable

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Tue Dec 25 16:19:34 JST 2012


YUKI Hiroshi	2012-12-25 16:19:34 +0900 (Tue, 25 Dec 2012)

  New Revision: 47bffd68fb1319f469dda8828cf9aa18ff1ce018
  https://github.com/groonga/gcs/commit/47bffd68fb1319f469dda8828cf9aa18ff1ce018

  Log:
    Fix missing variable

  Modified files:
    lib/database/domain.js

  Modified: lib/database/domain.js (+4 -4)
===================================================================
--- lib/database/domain.js    2012-12-25 16:14:45 +0900 (73d64c3)
+++ lib/database/domain.js    2012-12-25 16:19:34 +0900 (52464f6)
@@ -265,14 +265,14 @@ Domain.prototype = {
     return 'default_search_field';
   },
 
-  getCreationDate: function(key) {
+  getCreationDate: function(base) {
     var storedDate = this.exists() ?
-          this.getConfiguration(this.getCreationDateKey(key)) : null ;
+          this.getConfiguration(this.getCreationDateKey(base)) : null ;
     return storedDate ? new Date(storedDate) : new Date();
   },
-  setCreationDate: function(name, date) {
+  setCreationDate: function(base, date) {
     if (this.exists())
-      this.setConfiguration(this.getCreationDateKey(key), date.getTime())
+      this.setConfiguration(this.getCreationDateKey(base), date.getTime())
     return date;
   },
   getCreationDateKey: function(base) {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index