Merge lp:~quam-plures-core/quam-plures/install_bug_fix into lp:quam-plures

Proposed by EdB on 2013-10-12
Status: Merged
Merged at revision: 7664
Proposed branch: lp:~quam-plures-core/quam-plures/install_bug_fix
Merge into: lp:quam-plures
Diff against target: 54 lines (+30/-13)
1 file modified
qp_install/_create_users.php (+30/-13)
To merge this branch: bzr merge lp:~quam-plures-core/quam-plures/install_bug_fix
Reviewer Review Type Date Requested Status
Quam Plures Core Team 2013-10-12 Pending
Review via email: mp+190800@code.launchpad.net
To post a comment you must log in.
Kimberly (kimberly-netweb360) wrote :

It has been awhile, how can I test this?

-Kim.

On 10/12/2013 9:40 AM, EdB wrote:
> EdB has proposed merging lp:~quam-plures-core/quam-plures/install_bug_fix into lp:quam-plures.
>
> Commit message:
> http://forums.quamplures.net/viewtopic.php?f=16&t=1913 fixed
>
> Requested reviews:
> Quam Plures Core Team (quam-plures-core)
>
> For more details, see:
> https://code.launchpad.net/~quam-plures-core/quam-plures/install_bug_fix/+merge/190800
>
> http://forums.quamplures.net/viewtopic.php?f=16&t=1913 fixed

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qp_install/_create_users.php'
2--- qp_install/_create_users.php 2013-03-22 21:28:25 +0000
3+++ qp_install/_create_users.php 2013-10-12 13:40:21 +0000
4@@ -157,20 +157,37 @@
5 ( 1, ".$Group_Admins->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 1, 1, 1, 1, 1 ),
6 ( 2, ".$Group_Admins->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 1, 1, 1, 1, 1 ),
7 ( 3, ".$Group_Admins->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 1, 1, 1, 1, 1 ),
8- ( 4, ".$Group_Admins->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 1, 1, 1, 1, 1 ),
9- ( 1, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
10- ( 2, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
11- ( 3, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
12- ( 4, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
13- ( 1, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
14- ( 2, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
15- ( 3, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
16- ( 4, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
17- ( 1, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 ),
18- ( 2, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 ),
19- ( 3, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 ),
20- ( 4, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 )";
21+ ( 4, ".$Group_Admins->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 1, 1, 1, 1, 1 )";
22 $DB->query( $query );
23+if( $create_sample_contents )
24+{
25+ $query = "INSERT INTO T_blog_groups(
26+ bloggroup_blog_ID,
27+ bloggroup_group_ID,
28+ bloggroup_ismember,
29+ bloggroup_perm_poststatuses,
30+ bloggroup_perm_delpost,
31+ bloggroup_perm_comments,
32+ bloggroup_perm_cats,
33+ bloggroup_perm_properties,
34+ bloggroup_perm_media_upload,
35+ bloggroup_perm_media_browse,
36+ bloggroup_perm_media_change )
37+ VALUES
38+ ( 1, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
39+ ( 2, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
40+ ( 3, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
41+ ( 4, ".$Group_Special->ID.", 1, 'published,deprecated,protected,private,draft', 1, 1, 0, 0, 1, 1, 1 ),
42+ ( 1, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
43+ ( 2, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
44+ ( 3, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
45+ ( 4, ".$Group_Bloggers->ID.", 1, 'published,deprecated,protected,private,draft', 0, 0, 0, 0, 1, 1, 0 ),
46+ ( 1, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 ),
47+ ( 2, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 ),
48+ ( 3, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 ),
49+ ( 4, ".$Group_Users->ID.", 1, '', 0, 0, 0, 0, 0, 0, 0 )";
50+ $DB->query( $query );
51+}
52 task_end();
53
54 /*

Subscribers

People subscribed via source and target branches