[Commit revision 993d2f0]
Author: Nao
Date: Mon, 31 Mar 2014 22:08:26 +0200
Stats: 2 files changed; +10 (insertions), -19 (deletions)
[Commit revision 6b1a53d]
Author: Nao
Date: Mon, 31 Mar 2014 22:23:57 +0200
Stats: 2 files changed; +27 (insertions), -25 (deletions)
Author: Nao
Date: Mon, 31 Mar 2014 22:08:26 +0200
Stats: 2 files changed; +10 (insertions), -19 (deletions)
- Added an {empty} type for empty strings in query replacements. (Class-System.php)
- Rewrote a bit of the database variable replacement code. (Class-DB.php)
- - Renamed the function to just wesql::replace_value,
- - Removed the 'identifier' type (never used, not even in SMF?!),
- - Removed 'text' (an alias of 'string' that was never used...
- - Removed all break instructions, because they were never executed anyway,
- - And hopefully made the error message for replacement errors more helpful.
- And if I were to rename string to text across all files, I'd rather rename it to 'str', which I won't do anyway.
[Commit revision 6b1a53d]
Author: Nao
Date: Mon, 31 Mar 2014 22:23:57 +0200
Stats: 2 files changed; +27 (insertions), -25 (deletions)
- Removed query_see_topic test from loadBoard, as it was actually overkill (this isn't the place to test whether the topic is actually viewable...), and was the thing that broke topic privacy for moderators. (Load.php)
- And thus, I can revert my revert, and push back query_see_topic creation to we::permissions. Phew... (Class-System.php)