mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
hidden and deleted state in user stream
This commit is contained in:
@ -65,13 +65,13 @@ class SqlBuilder
|
||||
end
|
||||
end
|
||||
|
||||
#weird AS reloading
|
||||
unless defined? FTYPE_MAP
|
||||
FTYPE_MAP = {
|
||||
23 => :value_to_integer,
|
||||
1114 => :string_to_time
|
||||
}
|
||||
end
|
||||
#AS reloads this on tests
|
||||
remove_const :FTYPE_MAP if defined? FTYPE_MAP
|
||||
FTYPE_MAP = {
|
||||
23 => :value_to_integer,
|
||||
1114 => :string_to_time,
|
||||
16 => :value_to_boolean
|
||||
}
|
||||
|
||||
def map_exec(klass, args = {})
|
||||
results = exec(args)
|
||||
|
Reference in New Issue
Block a user