File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
lib/editor/tiny/plugins/collaborative/classes Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,12 @@ class change_manager {
55
55
public function __construct (
56
56
int $ contextid ,
57
57
string $ pagehash ,
58
- string $ pageinstance ,
59
58
string $ elementid ,
60
59
string $ oldcontenthash
61
60
) {
62
61
global $ DB ;
63
62
$ this ->contextid = $ contextid ;
64
63
$ this ->pagehash = $ pagehash ;
65
- $ this ->pageinstance = $ pageinstance ;
66
64
$ this ->elementid = $ elementid ;
67
65
$ this ->oldcontenthash = $ oldcontenthash ;
68
66
}
@@ -95,7 +93,8 @@ public function get_changes() {
95
93
while ($ change = $ DB ->get_record ('tiny_collaborative_changes ' , ['oldcontenthash ' => $ currenthash ,
96
94
'pagehash ' => $ this ->$ pagehash ,
97
95
'elementid ' => $ this ->elementid ,
98
- 'contextid ' => $ this ->contextid ,
96
+ 'contextid ' => $ this ->contextid
97
+ ]
99
98
)) {
100
99
$ changesarray [] = $ change ->changes ;
101
100
$ currenthash = $ change ->newcontenthash ;
You can’t perform that action at this time.
0 commit comments