Skip to content

Commit

Permalink
Remove post installation
Browse files Browse the repository at this point in the history
  • Loading branch information
LawrenceLoz committed Jun 16, 2019
1 parent 018c7b9 commit cd6c189
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 115 deletions.
53 changes: 0 additions & 53 deletions fs-core/main/default/classes/FormulaSharePostInstall.cls

This file was deleted.

This file was deleted.

42 changes: 0 additions & 42 deletions fs-core/main/default/classes/FormulaSharePostInstallTest.cls

This file was deleted.

This file was deleted.

16 changes: 8 additions & 8 deletions fs-core/main/default/classes/FormulaShareProcessSchedulable.cls
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
*CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
**/

public inherited sharing class FormulaShareProcessSchedulable implements Schedulable {
public with sharing class FormulaShareProcessSchedulable implements Schedulable {

// Generic implementation to call submitter class
// Avoids issues deploying changes when batch jobs are scheduled
public void execute(SchedulableContext SC) {
System.Type submitterType = Type.forName('FormulaShareSchedulableSubmitter');
Schedulable submitter = (Schedulable) submitterType.newInstance();
submitter.execute(SC);
}
// Generic implementation to call submitter class
// Avoids issues deploying changes when batch jobs are scheduled
public void execute(SchedulableContext SC) {
System.Type submitterType = Type.forName('FormulaShareSchedulableSubmitter');
Schedulable submitter = (Schedulable) submitterType.newInstance();
submitter.execute(SC);
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
<description>Assign this to the user who will schedule the FormulaShareProcessBatch job to give appropriate permissions. This user must also have a profile giving full access to all objects, fields and records to be shared, for example System Administrator</description>
<description>Assign this to users who require access to FormulaShare Logs and aren&#39;t already full System Administrators in the org</description>
<fieldPermissions>
<editable>true</editable>
<field>FormulaShare_Log__c.Batch_Finish_Complete__c</field>
Expand Down Expand Up @@ -87,7 +87,7 @@
<readable>true</readable>
</fieldPermissions>
<hasActivationRequired>false</hasActivationRequired>
<label>FormulaShare Batch User Permissions</label>
<label>FormulaShare Admin User</label>
<objectPermissions>
<allowCreate>true</allowCreate>
<allowDelete>true</allowDelete>
Expand Down

0 comments on commit cd6c189

Please sign in to comment.