]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Remove NOT NULL restriction on HubSub 'lease'
authorChimo <chimo@chromic.org>
Sat, 7 Feb 2015 15:46:13 +0000 (10:46 -0500)
committerChimo <chimo@chromic.org>
Sat, 7 Feb 2015 15:46:13 +0000 (10:46 -0500)
commit937adf05c9c248848cdb0e9df6864611ceb8047f
tree5c4dc9f9df6ba72ee7696c1df70ca5aae58c371d
parent1c478768ad2558dd0f789d3941da2162fdb34a76
Remove NOT NULL restriction on HubSub 'lease'

This fixes an issue where INSERTs in HubSub fail if MySQL/MariaDB is
running in "strict mode" since the default lease time in
PushHubAction::subunsub is null.

Permanent subscriptions have been removed in PuSH v0.4, but they are
being kept here for backward-compatibility with previous GS/SN versions.
plugins/OStatus/classes/HubSub.php