]> source.dussan.org Git - nextcloud-server.git/commit
user/backed: use pow of two for backed action constants
authorTigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Mon, 22 Sep 2014 14:45:11 +0000 (16:45 +0200)
committerTigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Tue, 23 Sep 2014 13:18:01 +0000 (15:18 +0200)
commit276f50a1ba6b894a2acf2df24e3d761c0bad4ec0
treeed8feb029acd0c5cff4cecdb81771c2c54bada23
parentb8a134053881e0f95242b46bb362d016c686a57f
user/backed: use pow of two for backed action constants

the current implementation limits number of possible backed actions
to 8 as it uses pow of 16 for constants. This change introduces pow
of two and allows up-to 32 actions to be defined.

The old values are preserved for backward compatibility.
lib/private/user/backend.php