File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function getRoles()
87
87
return $ this ->getRelation ("roles " );
88
88
}
89
89
90
- public function save ()
90
+ public function save ($ useMasterKey = false )
91
91
{
92
92
if (!$ this ->getACL ()) {
93
93
throw new ParseException (
@@ -99,7 +99,7 @@ public function save()
99
99
"Roles must have a name. "
100
100
);
101
101
}
102
- return parent ::save ();
102
+ return parent ::save ($ useMasterKey );
103
103
}
104
104
105
105
Original file line number Diff line number Diff line change @@ -272,10 +272,10 @@ public function isCurrent()
272
272
*
273
273
* @throws ParseException
274
274
*/
275
- public function save ()
275
+ public function save ($ useMasterKey = false )
276
276
{
277
277
if ($ this ->getObjectId ()) {
278
- parent ::save ();
278
+ parent ::save ($ useMasterKey );
279
279
} else {
280
280
throw new ParseException (
281
281
"You must call signUp to create a new User. "
You can’t perform that action at this time.
0 commit comments